I find that the only way I can add DIVs to a document, is via the HTML source. What's I'd like to see, see a DIV editor option that works like the TABLE editor. I should be able to:
And it would be very nice to;
- Select an image and several <p>-separated paragraphs
- Place a single DIV around the lot
- Float the DIV
- Apply borders, margins and padding, background, classes
- Re-select the DIV
And it would be very nice to;
- Be able to create and select preformatted DIV "styles".
- Call them "blocks" or "Div blocks", because my customers wouldn't understand "div"
Re: DIV block editor
add the following:
create ckeditor_config.js,
create templates.js,
create custom_stylesheet.css
And after that try this config:
ckeditor_config.js:
templates.js:
My CSS is:
custom_stylesheet:
but make sure you have the same css at the front.
Regards,
Raymond
(p.s. sorry for my bad english)
Re: DIV block editor
Re: DIV block editor
Do you mean something like this?
http://docs.cksource.com/CKEditor_3.x/U ... Layout/Div