开发者

How to remove "Paragraph" from "Format Select" for Joomla 1.5 jce editor

开发者 https://www.devze.com 2023-03-21 17:25 出处:网络
I am using JCE editor instead o开发者_C百科f the default tiny-mce. I am trying to customize the formatting interface for my users.

I am using JCE editor instead o开发者_C百科f the default tiny-mce. I am trying to customize the formatting interface for my users.

Is there a way to pull "Paragraph" out from the "Format Select" drop down list and create a custom standalone button just like "Bold" or "Underline"?

Something like this...

How to remove "Paragraph" from "Format Select" for Joomla 1.5 jce editor


It is possible to edit the content of the Format list. In JCE 1.5 go to "Groups", select the "Editor Parameters" tab, go to the "Editor Options" area and remove the "p" (as in paragraph) from the list of "Format Elements".

But actually this is not what you wanted. To create an extra button for the P format you might try some Javascript to convert the Format select into a sequence of buttons.

In JCE 1.5 in the JCE Plugin Manager, there is a button "New Plugin". That helps with setting up new plugins. In JCE 2.0 you will need to create a complete installation package first.

0

精彩评论

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

关注公众号