Repository navigation
jodit-plugin-code 1.2.0
·
10 commits
to main
since this release
Added
- Works next to Jodit PRO: when the
pasteCodebutton is in the toolbar, the plugin turns itself off in that editor with a warning in the console; without the button both plugins work, and Jodit PRO no longer repaints the blocks, opens its dialog or popup for them, or strips their highlighting from the saved HTML.
Changed
<code>of a block has thenohighlightclass in place oflanguage-*, so highlight.js and Prism on a site skip the blocks: no repainting and no highlight.js warnings. Blocks saved before get it when saved again.- In the editor a block holds its code and line numbers in
<div>elements instead of<pre>; the saved HTML is unchanged.
npm: jodit-plugin-code@1.2.0 · Changelog · Docs