header icon indicating copy to clipboard operation
header copied to clipboard

Header Tool for Editor.js 2.0

Results 39 header issues
Sort by recently updated
recently updated
newest added

Hi On you docs you show that you just need to load the JS script ` ` Then in Editor JS enter ``` tools: { header: Header, } ``` The...

## Problem 1. This tool was built in JavaScript to be a simplest example of Editor.js Tools API usage. Right now further enhancements requires more modern stack. 2. When using...

good first task

Added a `preserveBlank` configuration parameter to determine whether blank headers should be kept when saving editor data, similar to the `editorjs/paragraph` block.

This way it has a `data-item-name` on the `.ce-popover-item` to identify the name of setting, which follows the structure of the default settings of editor.js (Move up, Delete, Move down).

Header tool doesn't work if I paste content with a heading, for example from: [https://about.google/products/](https://about.google/products/) Headings are shown but the component is invalid. The content is not saved anywhere and...

https://github.com/editor-js/header/blob/5118ce87a752515fb6b31325f234f4ccd62f42c9/src/index.js#L473

Enables useStrictCSP when injecting styles. See https://github.com/marco-prontera/vite-plugin-css-injected-by-js#usestrictcsp-boolean Does not throw any errors if meta property is not present ```useStrictCSP ? `elementStyle.nonce = document.head.querySelector('meta[property=csp-nonce]')?.content;` : ''``` Updated README to reflect the...

- Created tsconfig.ts , header.d.ts and index.ts - Added types section in package.json

There is mentioned a dist & bundle.js file but I cant seem to understand where is it located in the repo? Kindly help elaborate the process a bit more. currently...

``` editor = new EditorJS({ holder: id, onChange: async () => { if (editor) { const outputData = await editor.save() value.value = outputData.blocks } }, ``` ![image](https://github.com/editor-js/header/assets/10080622/febac98f-9333-4ed4-aa8e-58e72c620cc2) Dependencies: "@editorjs/list": "^1.8.0",...