When I press on the custom button I see the execCommand is requested twice and the second one the parameters are different from the call I do from the plugin, so the result is (null) added to the selected word.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cleditor
The only way i see to avoid this double request of the execCommadn function is modifying the core script becasue the seocnd time the value is undefined, so I return false on that case.
I don't like this solution becasue it breaks the core cleditor, well not breask but I wonder if I can do it without modifying the code.
Any cl -guru aorund know how to fix it withoup tocuh the cleditr js core script ?
I'll appreciate to know. Thanks
J. Manuel Velasco
unread,
Jul 29, 2016, 11:29:39 PM7/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cleditor
That breaks the functionality of other buttons, I can't find the way to create a plugin without popup. Is that possible?