Repository navigation
jodit-plugin-code 1.3.0
·
5 commits
to main
since this release
Added
- "Site highlighting" switch for each block, in the dialog and in the toolbar of the block, and the
nativeoption for new blocks: the block keeps its frame, header and buttons, and its code is saved as plain<code class="language-*">without colors, for highlight.js, Prism or another highlighter of the site and its theme. In the editor it looks and works as any block;data-nativekeeps it this way when the HTML is edited again. - "Header" switch for each block, in the dialog and in the toolbar of the block, and the
headeroption for new blocks: without the header the block is the frame and the code, with no copy or download button; switching it off also stops offering the file. renderNativeto make that HTML outside the editor.
Changed
<code>of a block with its own colors also has thenohljslnclass, and so has a block with site highlighting and its own line numbers: highlightjs-line-numbers.js, which numberscode.nohighlighttoo, no longer adds a second column of numbers. Blocks saved before get it when saved again.
npm: jodit-plugin-code@1.3.0 · Changelog · Docs