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.
However how do you add a custom class to a link, there's not enough params to hook in a class name in the createLink command, it just has three params like so:
exec: function(composer, command, value) {
So how would you go about creating a command that has a link with a class on it?
So we know how to add custom classes to inline and/or block elements like this...
However how do you add a custom class to a link, there's not enough params to hook in a class name in the createLink command, it just has three params like so:
So how would you go about creating a command that has a link with a class on it?