Visual Editor Custom Buttons
[resolved] Removing code when pressing the button again. (3 posts)

  1. stealthrt
    Posted 2 years ago #

    I am looking for JS code to allows for the custom button code to be removed from the highlighted text. Currently it continues to place the custom html code every time you click the button on the same highlighted text.

    Is there a mod i can do for the JS files that would allow it to remove the custom html code when i pretty the button again? Just like it does with the bold button, etc?



  2. cyberduck
    Plugin Author

    Posted 2 years ago #

    No function for that. But you can use the default eraser-button to remove code.

  3. cyberduck
    Plugin Author

    Posted 2 years ago #

    Case resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visual Editor Custom Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.