I need to add inline style to multiple HTML elements using the inline style option in ckeditor. I've added the following code to the styles.js file. '', 'Color': '# 632423'}},
{name: 'red italic', element: 'p', style: {'font-style': 'italic', ' Code> I need to add many HTML tags to style, something like the following
{name: 'red italic', element: 'P, div, Li ', Styles: {' font-style ':' italic ',' color ':' # 632423 '}},
But it does not work Please tell me, please How can i do it
Thanks in advance.
Regards,
Neha
Try it.
{name: 'red italics', element: ['p' 'div', 'li'], style: {'font-style': 'italic' 'Color': '# 632423'}}
Tell me that it helps you
edit
< P> If it does not work by trying below the code {name: 'Red italics attributes: {' font-style ':' italic ',' color ':' # 632423 '}}
<' p ',' div ',' li '], / div>
No comments:
Post a Comment