Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
// Needed for opera and chrome
dom.delegate(container, "[data-wysihtml5-command], [data-wysihtml5-action]", "mousedown", function(event) { event.preventDefault(); });
This line causes Firefox browser to not render the ":active" states of the toolbar element. I have removed this line and seen no issues in either Opera or Chrome.
Can anyone comment as to why this hook would need to be here for the mousedown event?
From /toolbar/toolbar.js
This line causes Firefox browser to not render the ":active" states of the toolbar element. I have removed this line and seen no issues in either Opera or Chrome.
Can anyone comment as to why this hook would need to be here for the mousedown event?