I found the javascript editor wysiwyg wysiHTML5 .
I am trying to add the <a href=...> element to the editor, or just programmatically include bold.
My code is:
var editor = new wysihtml5.Editor("textarea", { toolbar: "toolbar", stylesheets: "css/wysihtml5.css", parserRules: wysihtml5ParserRules }); editor.observe("load", function() { editor.composer.commands.exec("bold"); });
Am I doing something wrong?
javascript wysiwyg wysihtml5
daemon
source share