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
i think we want just one pre tag
The text was updated successfully, but these errors were encountered:
better: multi code line with just one pre tag if you want another code block, just click again.
Sorry, something went wrong.
@fuyunliu due to a problem with PRE in Firefox who put one PRE block by line, I've make this little function for code button:
{ name: 'code', icon: '<i class="fa fa-fw fa-code"></i>', result: function() { if (window.getSelection) { let linesCode = window.getSelection().toString().split('\n').join('<br>'); document.execCommand('insertHTML', false, '<pre>' + linesCode + '</pre>'); } else { document.execCommand('formatBlock', false, '<PRE>'); } } }
No branches or pull requests
i think we want just one pre tag
The text was updated successfully, but these errors were encountered: