Mercurial Hosting > sceditor
diff src/sceditor.js @ 43:ab852c9f04c3
use buttons
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 29 Aug 2022 23:33:11 -0600 |
parents | 69654081643b |
children | 48c153a1a6cf |
line wrap: on
line diff
--- a/src/sceditor.js Mon Aug 29 22:36:31 2022 -0600 +++ b/src/sceditor.js Mon Aug 29 23:33:11 2022 -0600 @@ -1809,10 +1809,7 @@ '<body contenteditable="true" {spellcheck}><p></p></body>' + '</html>', - toolbarButton: '<a class="sceditor-button" ' + - 'data-sceditor-command="{name}" unselectable="on">' + - '{icon}</a>', -// toolbarButton: '<button>{icon}</button>', + toolbarButton: '<button>{icon}</button>', emoticon: '<img src="{url}" data-sceditor-emoticon="{key}" ' + 'alt="{key}" title="{tooltip}" />',