Opened 12 years ago
Closed 12 years ago
#10054 closed New Feature (duplicate)
Alignment & alignment classes that work on most elements
Reported by: | Jari Pennanen | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
There is no way to define alignment classes. Alignment should happen from buttons in toolbar, for most elements. (Centering Images is not even possible at the moment.)
I think TinyMCE has got this one right, try clicking the image and then alignment buttons in toolbar.
I suggest also looking at how TinyMCE implemented alignment classes in configuration one just types elements and the class and that's it, then all of the alignment calls define classes.
Nevertheless ckeditor is technically superior :)
Please see: http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-justifyClasses. All you have to do is define class names and then classes in contents.css file or page styles if you are using inline editor e.g.
About centring issues we have separate issue for it: http://dev.ckeditor.com/ticket/8938
I'm closing this one as duplicate.