diff src/sceditor.js @ 42:69654081643b

css cleanup
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 29 Aug 2022 22:36:31 -0600
parents 9f63c8f506d1
children ab852c9f04c3
line wrap: on
line diff
--- a/src/sceditor.js	Fri Aug 19 19:27:03 2022 -0600
+++ b/src/sceditor.js	Mon Aug 29 22:36:31 2022 -0600
@@ -1809,10 +1809,10 @@
 				'<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>',
 
 		emoticon: '<img src="{url}" data-sceditor-emoticon="{key}" ' +
 			'alt="{key}" title="{tooltip}" />',
@@ -4747,8 +4747,7 @@
 				groups   = options.toolbar.split('|');
 
 			toolbar = createElement('div', {
-				className: 'sceditor-toolbar',
-				unselectable: 'on'
+				className: 'sceditor-toolbar'
 			});
 
 			each(groups, function (_, menuItems) {