Just having a little trouble with using the editor itself and I was hoping someone could help me out.
When I create a DIV inside the editor, I can edit the DIV in a dialog box where the general tab has the following options: Style and Stylesheet Classes.
Unfortunately, the drop-down box for Style just says "<not set>" and I can't appear to choose anything.
How can I get style options for my DIV to appear in that dialog box?
When I create a DIV inside the editor, I can edit the DIV in a dialog box where the general tab has the following options: Style and Stylesheet Classes.
Unfortunately, the drop-down box for Style just says "<not set>" and I can't appear to choose anything.
How can I get style options for my DIV to appear in that dialog box?
Re: Editing DIVs
Check the User's Guide documentation for this feature: http://docs.cksource.com/CKEditor_3.x/U ... Layout/Div
The Style drop-down list reads the style definitions for a <div> element that were previously defined in the "default.js" style of the "styles" plugin.
Use the following example to try this out:
replacing the "style_name" and "element_class" with whatever you wish to call them. Add your styles in the same way as other style definitions in that file.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!