Topic: WYSIWYG Custom Buttons

greinermario pro asked 5 years ago


Did anyone know how i can edit the WYSIWYG jQuery plugin to add a custom button, wich will add an horizontal line (hr) inside the text area


Bartłomiej Malanowski staff commented 5 years ago

Yes ;) Please check this page: https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand and find the "insertHorizontalRule" on it. This is exactly what you need. Let me know if you need some help with implementation



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.8
  • Device: PC
  • Browser: Firefox
  • OS: WIN 10
  • Provided sample code: No
  • Provided link: No