I have a paragraph format such as "address" and "formatted" dropdown down and a new custom named "link" in my project Add format, which will be aerial, 14px, bold, red. Is it possible to add custom paragraph format to CKAditator?
Use to specify some new formatting:
CKEDITOR .replace ('editor1', {format_tags: 'p; h2; h3; pre; links', // entries are displayed in the "paragraph format" format_link: {name: 'links', element: 'span', Style: {color: 'red', 'font-family': 'arial', 'font-weight': 'bold'}}}); How it works to learn more about styles. Also keep in mind that since CKEditor 4.1, there is an effect to remove styles from "paragraph formatting".
No comments:
Post a Comment