You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#102982 Custom Button for special HTML text

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Mac1976 on Saturday, 08 February 2020 00:24 GMT

Mac1976
Hello,

hope someone can help me.

I would like to include a button in the editor with which a special HTML text can be inserted.

I've already looked at the example of ryandemmer on GitHub (https://github.com/widgetfactory/jce-custom).

I also looked at the original buttons (e.g. "<hr>") and their function.

I cannot check the function of my plugin because the associated button is not displayed in the editor.

In the configuration it is visible and moved to the right place.

as attachments the plugin and the screenshots



Thanks for an advice

Attachments

Ryan
This part in your xml manifest is incorrect:

<icon image="plugins/jce/editor-customhr/img/custom.png">custom</icon>
if should be

<icon image="plugins/jce/editor-customhr/img/custom.png">customhr</icon>

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Mac1976
I'm so stupid.

thanks, now it works.
:D