Mercurial Hosting > sceditor
comparison 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 |
comparison
equal
deleted
inserted
replaced
42:69654081643b | 43:ab852c9f04c3 |
---|---|
1807 '<link rel="stylesheet" type="text/css" href="{style}" />' + | 1807 '<link rel="stylesheet" type="text/css" href="{style}" />' + |
1808 '</head>' + | 1808 '</head>' + |
1809 '<body contenteditable="true" {spellcheck}><p></p></body>' + | 1809 '<body contenteditable="true" {spellcheck}><p></p></body>' + |
1810 '</html>', | 1810 '</html>', |
1811 | 1811 |
1812 toolbarButton: '<a class="sceditor-button" ' + | 1812 toolbarButton: '<button>{icon}</button>', |
1813 'data-sceditor-command="{name}" unselectable="on">' + | |
1814 '{icon}</a>', | |
1815 // toolbarButton: '<button>{icon}</button>', | |
1816 | 1813 |
1817 emoticon: '<img src="{url}" data-sceditor-emoticon="{key}" ' + | 1814 emoticon: '<img src="{url}" data-sceditor-emoticon="{key}" ' + |
1818 'alt="{key}" title="{tooltip}" />', | 1815 'alt="{key}" title="{tooltip}" />', |
1819 | 1816 |
1820 fontOpt: '<a class="sceditor-font-option" href="#" ' + | 1817 fontOpt: '<a class="sceditor-font-option" href="#" ' + |