开发者

dojo.dijit editor headline plugin

开发者 https://www.devze.com 2023-01-23 20:21 出处:网络
i am s开发者_Python百科earching for a way to have a headline button in the dojo dijit editor that wraps elements with html h2 tags.

i am s开发者_Python百科earching for a way to have a headline button in the dojo dijit editor that wraps elements with html h2 tags. Is there such a thing? i couldn't find anything.


You might try the FontChoice plugin's formatBlock command, which provides a drop down of various "styles" like subheading, etc. which basically just wraps text with different tags. The list can be customized.

0

精彩评论

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