A block-style editor with clean JSON output
17 matches across 6 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | src/components/modules/blockEvents.ts | 240 | const wasEventTriggeredInsideEditor = this.Editor.UI.nodes.wrapper.contains(event.target as Node); |
| CRITICAL | src/components/modules/rectangleSelection.ts | 451 | const contentElement = this.Editor.BlockManager.lastBlock.holder.querySelector('.' + Block.CSS.content); |
| CRITICAL | src/components/modules/toolbar/inline.ts | 220 | const wrapperOffset = this.Editor.UI.nodes.wrapper.getBoundingClientRect(); |
| CRITICAL | src/components/modules/toolbar/index.ts | 514 | this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolboxHolderModifier); |
| CRITICAL | src/components/modules/toolbar/index.ts | 518 | this.Editor.UI.nodes.wrapper.classList.remove(this.CSS.openedToolboxHolderModifier); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cypress/support/e2e.ts | 22 | function assertToBeCalledWithBatchedEvents(expectedEvents: PartialBlockMutationEvent[]): void { |
| LOW | …st/cypress/support/utils/createEditorWithTextBlocks.ts | 12 | export function createEditorWithTextBlocks(textBlocks: string[], editorConfig?: Omit<EditorConfig, 'data'>): Chainable<E |
| LOW | src/components/utils/blocks.ts | 50 | export async function getConvertibleToolsForBlock(block: BlockAPI, allBlockTools: BlockToolAdapter[]): Promise<BlockTool |
| LOW | src/components/utils/caret.ts | 60 | export function checkContenteditableSliceForEmptiness(contenteditable: HTMLElement, fromNode: Node, offsetInsideNode: nu |
| LOW | src/components/utils/mutations.ts | 7 | export function isMutationBelongsToElement(mutationRecord: MutationRecord, element: Element): boolean { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cypress/tests/modules/InlineToolbar.cy.ts | 44 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum ma |
| LOW | test/cypress/tests/modules/InlineToolbar.cy.ts | 44 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum ma |
| LOW | test/cypress/tests/modules/InlineToolbar.cy.ts | 236 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', |
| LOW | test/cypress/tests/modules/InlineToolbar.cy.ts | 236 | text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.', |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/create-a-release-draft.yml | 57 | # Create a new draft release |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/components/block/index.ts | 282 | * If inputs amount was changed we need to check if input index is bigger then inputs array length |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .postcssrc.yml | 21 | # Instruct all plugins to omit pre-polyfilled CSS |