We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jodit Version:** 3.1.96
Code
{ name : 'list_test', iconURL : 'stuf/dummy.png', mode : 3, list : { h1: 'insert Header 1', h2: 'insert Header 2', clear: 'Empty editor' }, exec : function(this:any, editor: any) { var key = this.args[0], value = this.args[1]; if (key === 'clear') { this.val(''); return; } editor.selection.insertHTML(' {{test'+key+'}} '); }, template: function(key: string, value: string){ return '<div>' + value + '</div>'; } }
Expected behavior:
The text was updated successfully, but these errors were encountered:
Fix bug #56
7de859b
this.config.extraButtons= [{ name: 'OnlyParagraph', icon: 'fa fa-superscript', mode : 1 | 2 | 3, tooltip:"EXTERA", isActive:true, exec: (editor) => { var selection = editor.selection; var text = editor.selection.getHTML(); console.log(text); var html = '
' + text + '
Sorry, something went wrong.
Fix bug xdan/jodit#56
2edfeb3
No branches or pull requests
Jodit Version:** 3.1.96
Code
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: