Skip to content

Releases: TimurSeyidov/jodit-plugins

jodit-plugin-datagen 1.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 15:15

Added

  • "Generate data" toolbar button and dialog with the tabs "Data", "Template" and "Help", a preview of the result and "Insert".
  • Ten types of data from DummyJSON: posts, quotes, comments, to-dos, users, products, reviews, recipes, an order of products with quantities and totals, and placeholder images. Up to 100 items at once, chosen at random without repeats, with "Shuffle"; a short description of each type in the dialog.
  • Built-in layouts for every type: headings and paragraphs, lists, checklists, tables, cards, full recipes and more.
  • Templates in three parts, Before, Item and After, with placeholders ({{title}}, {{company.name}}, {{images.0}}, {{reviews.comment}}, {{index}}, {{count}}) and the filters ul, ol, first, join, count, words, fixed and default. Syntax highlighting in the template, a clickable list of the fields of the type, and a short reference on the "Help" tab.
  • Checks of the template while typing: unknown fields and filters, wrong arguments and unclosed placeholders are underlined and listed, and stop the insertion; tags that are not closed are a warning.
  • Values are escaped, the preview runs no scripts, and the inserted HTML goes through the cleanHTML settings of the editor. The private fields of DummyJSON users are never asked for.
  • Insertion of blocks in place of the empty paragraph of the caret or after its block, and of text and inline elements at the caret. The inserted content has no marks of the plugin.
  • Options baseUrl (your own copy of DummyJSON), types, layouts (layouts of your site), maxCount, defaultCount, remember and timeout.
  • generate, checkTemplate, render, TYPES, LAYOUTS and FILTERS to make content outside the editor.
  • English, German and Russian.
  • ES module for bundlers, and browser builds for ES2015, ES2018 and ES2021, for a <script> tag or extraPlugins.

npm: jodit-plugin-datagen@1.0.0 · Changelog · Docs

jodit-plugin-code 1.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 13:53

Added

  • "Site highlighting" switch for each block, in the dialog and in the toolbar of the block, and the native option 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-native keeps 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 header option 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.
  • renderNative to make that HTML outside the editor.

Changed

  • <code> of a block with its own colors also has the nohljsln class, and so has a block with site highlighting and its own line numbers: highlightjs-line-numbers.js, which numbers code.nohighlight too, 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

jodit-plugin-code 1.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 10:57

Added

  • Works next to Jodit PRO: when the pasteCode button 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 the nohighlight class in place of language-*, 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

jodit-plugin-code 1.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 06:45

Added

  • Language button in the toolbar of a block: choosing another language highlights the code again and keeps the other settings of the block.
  • Line numbers switch in the toolbar of a block.

npm: jodit-plugin-code@1.1.0 · Changelog · Docs

jodit-plugin-qrcode 1.0.2

Choose a tag to compare

@TimurSeyidov TimurSeyidov released this 06 Oct 21:43

Added

  • An animated demo in the README.

npm: jodit-plugin-qrcode@1.0.2 · Changelog · Docs

jodit-plugin-qrcode 1.0.1

Choose a tag to compare

@TimurSeyidov TimurSeyidov released this 06 Oct 21:43

Fixed

  • The qrcode option of Jodit.make() is typed in projects with moduleResolution: "nodenext": relative imports in the declarations now carry the .js extension.
  • The errorCorrectionLevel option is typed as 'L' | 'M' | 'Q' | 'H' without @types/qrcode, which projects using the plugin do not have; it was any before.

npm: jodit-plugin-qrcode@1.0.1 · Changelog · Docs

jodit-plugin-qrcode 1.0.0

Choose a tag to compare

@TimurSeyidov TimurSeyidov released this 06 Oct 21:43

Added

  • Toolbar button that inserts a QR code for a text or link as an image, with a live preview in the dialog.
  • The dialog opens with the selected text; the text stays and the code is inserted after it.
  • Editing of an inserted code: double click, the pencil of the image toolbar, or the button; the size set by resizing is kept.
  • The image tools of Jodit treat QR codes as QR codes: the image properties dialog is not opened for them, and the image button is not highlighted on them.
  • Options: size, margin, errorCorrectionLevel, dark, light, format (PNG or SVG), useSelection, className.
  • English, German and Russian.
  • ES module for bundlers, and browser builds for ES2015, ES2018 and ES2021 with the qrcode library included, for a <script> tag or extraPlugins.

npm: jodit-plugin-qrcode@1.0.0 · Changelog · Docs

jodit-plugin-mailto 1.0.2

Choose a tag to compare

@TimurSeyidov TimurSeyidov released this 06 Oct 21:43

Fixed

  • The address preview and the "Insert" and "Unlink" buttons stay at the bottom of the dialog while the fields scroll. On the "Additional" tab the form is higher than the popup, and the buttons were out of view.

Added

  • An animated demo in the README.

npm: jodit-plugin-mailto@1.0.2 · Changelog · Docs