editor.js
editor.js copied to clipboard
fix: prevent inline toolbar from closing in nested instance of editor
Based on https://github.com/codex-team/editor.js/pull/2581
Closes issue with inline toolbar being closed in the nested editor instance when clicking on the toolbar button with some actions. The fix is taken from https://github.com/codex-team/editor.js/pull/2581; this PR adds cypress tests for the fix
There is an ESLint error:
/home/runner/work/editor.js/editor.js/test/cypress/support/utils/nestedEditorInstance.ts
1:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
There is an ESLint error:
/home/runner/work/editor.js/editor.js/test/cypress/support/utils/nestedEditorInstance.ts 1:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
was fixing it the same moment you added comment 😄
Ready to ship? 😀