[support] Copying HTML to drupal
Roger
arelem at bigpond.com
Thu May 12 17:44:45 UTC 2011
On Thu, 2011-05-12 at 07:40 +0000, support-request at drupal.org wrote:
> As an example, in my training I have not found how to make work the
> HTML filer so if I copy text from one of my web pages, with text
> color, fonts etc, that it looks the same. I guess, I read that in
> Drupal 6 there are module editors for doing that.
>
>
Hi Jorge.
Don't know if this will help:
I've got a basic system like the above working in Drupal 7.
I disabled CKEditor and CKfinder and just use the CCK tool provided with
Drupal core.
CKEditor, for me, destroys html markup by adding a lot of unnecessary
tags, making the resulting code hard to read and in my case unworkable.
I find it prehistoric and unhelpful.
In CCK I have Full HTML selected, not Filtered HTML because I did not
wish to alter the filters and Filtered HTML is very limiting.
In CCK, I cut and paste or manually type html code including <img>,
<p align>,<ul> <li>, etc.
I find that colors and other markup have to be placed in the appropriate
css files -not- in the CCK because they are overwritten by style.css,
layout.css and colors.css in my theme.
I alter line spacing in the css also.
Use firebug in Firefox or <shift ctrl I> in chromium, I don't know the
tools in windows or apple.
I'm using a modified Bartick theme for this purpose and once I got the
idea of what to do it became far easier and much faster to do html
coding by hand.
Plus I can have a number of different css text styles, for example:
#h2gold {css; font; styling; here;}
#h7black {css; font; styling; here;}
and so on then call these from the CCK html
Hope this helps, works for me.
Roger
More information about the support
mailing list