开发者

Applying css to a text while showing in tinymce editor

开发者 https://www.devze.com 2023-01-21 20:23 出处:网络
I have a xml file with content <ul> 开发者_如何学运维 <li><info>Some text here</info></li>

I have a xml file with content

<ul>
开发者_如何学运维 <li><info>Some text here</info></li>
</ul>

I have parsed the xml file and show this in a page.info is a css class.In the page the text showing with css.When i am editing the content in tinymce editor how i can apply the css in the editor.In the editor the text is showing like <div mce_name="info">CSS text formatting </div>Thanks in advance.


Add the styles to the tinymce style sheet, they should appear in 'styles' the drop down.

0

精彩评论

暂无评论...
验证码 换一张
取 消