bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor

Home Page:https://bevacqua.github.io/woofmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change html in the buttons

malas opened this issue · comments

How can i change the displayed value in the command buttons or to remove some buttons entirely?

For example:

  • change UL button icon into text '<UL>'
  • i enabled only 1 mode in editor - markdown, so displaying markdown button in not needed anymore.

Hi, there isn't a very clean way to do this, but I've manipulated HTML /after/ generation with an example here: #10 (comment)

It's been a while but I think I also suggested a constructor option to run such changes.