level_0
int64
0
10k
index
int64
0
0
repo_id
stringlengths
22
152
file_path
stringlengths
41
203
content
stringlengths
11
11.5M
3,738
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/mention/src/utils
petrpan-code/draft-js-plugins/draft-js-plugins/packages/mention/src/utils/__test__/getTypeByTrigger.test.ts
import getTypeByTrigger from '../getTypeByTrigger'; describe('getTypeByTrigger', () => { it('returns "mention" for trigger "@"', () => { expect(getTypeByTrigger('@')).toBe('mention'); }); it('returns ":mention" for trigger ":"', () => { expect(getTypeByTrigger(':')).toBe(':mention'); }); it('return...
3,768
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/static-toolbar/src/components/Toolbar
petrpan-code/draft-js-plugins/draft-js-plugins/packages/static-toolbar/src/components/Toolbar/__test__/Toolbar.test.tsx
import { createStore } from '@draft-js-plugins/utils'; import { EditorState } from 'draft-js'; import React, { ReactElement, useEffect } from 'react'; import { render } from '@testing-library/react'; import { StoreItemMap } from '../../..'; import Toolbar, { ToolbarChildrenProps } from '../index'; jest.useFakeTimers()...
3,802
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src/RedoButton
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src/RedoButton/__test__/index.test.tsx
import { render } from '@testing-library/react'; import userEvents from '@testing-library/user-event'; import { EditorState, Modifier } from 'draft-js'; import React from 'react'; import { UndoPuginStore } from '../..'; import Redo from '../index'; describe('RedoButton', () => { function getStore(state = EditorState...
3,804
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src/UndoButton
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src/UndoButton/__test__/index.test.tsx
/* eslint no-unused-expressions: 0, react/no-children-prop:0 */ import { render } from '@testing-library/react'; import userEvents from '@testing-library/user-event'; import { EditorState, Modifier } from 'draft-js'; import React from 'react'; import { UndoPuginStore } from '../..'; import Undo from '../index'; descri...
3,805
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src
petrpan-code/draft-js-plugins/draft-js-plugins/packages/undo/src/__test__/index.test.tsx
import React from 'react'; import { EditorState } from 'draft-js'; import { render, screen } from '@testing-library/react'; import { PluginFunctions } from '@draft-js-plugins/editor'; import createUndoPlugin from '../index'; jest.mock('linaria'); describe('UndoPlugin Config', () => { const onChange = (): void => un...
3,815
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/utils/src
petrpan-code/draft-js-plugins/draft-js-plugins/packages/utils/src/__test__/createStore.test.ts
import { createStore } from '../createStore'; interface StoreItems { name?: string; age?: number; } describe('createStore', () => { test('allows to pass in initial state', () => { const store = createStore<StoreItems>({ name: 'Ada' }); expect(store.getItem('name')).toBe('Ada'); }); test('should be ...
3,825
0
petrpan-code/draft-js-plugins/draft-js-plugins/packages/video/src
petrpan-code/draft-js-plugins/draft-js-plugins/packages/video/src/__test__/createVideoPlugin.test.ts
import { isYoutube, getYoutubeSrc, isVimeo, getVimeoSrc } from '../video/utils'; describe("CreateVideoPlugin's utils can parse correct youtube and vimeo ulr without config", () => { it('default video plugin handle youtube url', () => { const url = 'https://www.youtube.com/watch?v=YsRMoWYGLNA'; const result ...
4,049
0
petrpan-code/TypeCellOS/BlockNote/packages/core
petrpan-code/TypeCellOS/BlockNote/packages/core/src/BlockNoteEditor.test.ts
import { expect, it } from "vitest"; import { BlockNoteEditor } from "./BlockNoteEditor"; import { getBlockInfoFromPos } from "./extensions/Blocks/helpers/getBlockInfoFromPos"; /** * @vitest-environment jsdom */ it("creates an editor", () => { const editor = new BlockNoteEditor({}); const blockInfo = getBlockInf...
4,056
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/blockManipulation/blockManipulation.test.ts
import { afterEach, beforeEach, describe, expect, it } from "vitest"; import { Block, BlockNoteEditor, PartialBlock } from "../.."; let editor: BlockNoteEditor; function waitForEditor() { // wait for create event on editor, // this is necessary because otherwise UniqueId.create hasn't been called yet, and // bl...
4,058
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/blockManipulation
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/blockManipulation/__snapshots__/blockManipulation.test.ts.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Insert, Update, & Delete Blocks > Insert, update, & delete multiple blocks 1`] = ` [ { "children": [ { "children": [], "content": [ { "styles": {}, "text": "Nested Heading 1", ...
4,059
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/formatConversions/formatConversions.test.ts
import { afterEach, beforeEach, describe, expect, it } from "vitest"; import { Block, BlockNoteEditor } from "../.."; import UniqueID from "../../extensions/UniqueID/UniqueID"; let editor: BlockNoteEditor; const getNonNestedBlocks = (): Block[] => [ { id: UniqueID.options.generateID(), type: "heading", ...
4,063
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/formatConversions
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/formatConversions/__snapshots__/formatConversions.test.ts.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Complex Block/HTML/Markdown Conversions > Convert complex blocks to HTML 1`] = `"<h1>Heading 1</h1><h2>Heading 2</h2><h3>Heading 3</h3><p><span data-text-color=\\"purple\\"><span data-background-color=\\"green\\">Paragraph</span></span></p><p>P<str...
4,064
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/nodeConversions/nodeConversions.test.ts
import { Editor } from "@tiptap/core"; import { afterEach, beforeEach, describe, expect, it } from "vitest"; import { BlockNoteEditor, PartialBlock } from "../.."; import { DefaultBlockSchema, defaultBlockSchema, } from "../../extensions/Blocks/api/defaultBlocks"; import UniqueID from "../../extensions/UniqueID/Uni...
4,067
0
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/nodeConversions
petrpan-code/TypeCellOS/BlockNote/packages/core/src/api/nodeConversions/__snapshots__/nodeConversions.test.ts.snap
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Complex ProseMirror Node Conversions > Convert complex block to node 1`] = ` { "attrs": { "backgroundColor": "blue", "id": "1", "textColor": "yellow", }, "content": [ { "attrs": { "level": 2, "textAlignme...
4,286
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/basics/basics.test.ts
import { expect } from "@playwright/test"; import { test } from "../../setup/setupScript"; import { BASE_URL } from "../../utils/const"; test.beforeEach(async ({ page }) => { await page.goto(BASE_URL); }); test.describe("Basic typing functionality", () => { test("should allow me to type content", async ({ page })...
4,287
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/colors/colors.test.ts
import { test } from "../../setup/setupScript"; import { BACKGROUND_COLOR_SELECTOR, BASE_URL, COLORS_BUTTON_SELECTOR, DRAG_HANDLE_MENU_SELECTOR, DRAG_HANDLE_SELECTOR, H_TWO_BLOCK_SELECTOR, TEXT_COLOR_SELECTOR, } from "../../utils/const"; import { focusOnEditor } from "../../utils/editor"; import { insertH...
4,288
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts
import { test } from "../../setup/setupScript"; import { BASE_URL } from "../../utils/const"; import { compareDocToSnapshot, focusOnEditor } from "../../utils/editor"; import { copyPasteAll, insertHeading, startList, insertListItems, insertNestedListItems, insertParagraph, } from "../../utils/copypaste"; im...
4,289
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/headings-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,290
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/headings-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,291
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,292
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedOrderedLists-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,293
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedOrderedLists-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,294
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedParagraphs-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,295
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedParagraphs-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,296
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedUnorderedLists-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,297
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/nestedUnorderedLists-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,298
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/orderedLists-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,299
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/orderedLists-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,300
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/paragraphs-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,301
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/paragraphs-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,302
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/unorderedLists-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,303
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/copypaste/copypaste.test.ts-snapshots/unorderedLists-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,304
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop/dragdrop.test.ts
import { test } from "../../setup/setupScript"; import { BASE_URL, BLOCK_CONTAINER_SELECTOR, H_ONE_BLOCK_SELECTOR, H_THREE_BLOCK_SELECTOR, H_TWO_BLOCK_SELECTOR, } from "../../utils/const"; import { compareDocToSnapshot, focusOnEditor } from "../../utils/editor"; import { insertHeading, insertParagraph } from ...
4,305
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropnested-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,306
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropnested-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,307
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,308
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,309
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts
import { expect, Page } from "@playwright/test"; import { test } from "../../setup/setupScript"; import { BASE_URL, BLOCK_CONTAINER_SELECTOR, DRAG_HANDLE_SELECTOR, DRAG_HANDLE_ADD_SELECTOR, DRAG_HANDLE_MENU_SELECTOR, H_ONE_BLOCK_SELECTOR, H_THREE_BLOCK_SELECTOR, H_TWO_BLOCK_SELECTOR, PARAGRAPH_SELECTO...
4,310
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,311
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,312
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,313
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/dragHandleDocStructure-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,314
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/dragHandleDocStructure-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,315
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/dragHandleDocStructure-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,316
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,317
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,318
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,319
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandledelete-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,320
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandledelete-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,321
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandledelete-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,322
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlenesteddelete-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,323
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlenesteddelete-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,324
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandlenesteddelete-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,325
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts
import { test } from "../../setup/setupScript"; import { BASE_URL, H_ONE_BLOCK_SELECTOR, IMAGE_SELECTOR, } from "../../utils/const"; import { compareDocToSnapshot, focusOnEditor } from "../../utils/editor"; import { expect, FileChooser } from "@playwright/test"; import { dragAndDropBlock } from "../../utils/mouse...
4,326
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/createImage-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,327
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/createImage-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,328
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/createImage-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,329
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/deleteImage-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,330
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/deleteImage-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,331
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/deleteImage-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,332
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/dragImage-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,333
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/dragImage-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,334
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/dragImage-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,335
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/embedImage-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,336
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/embedImage-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,337
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/embedImage-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,338
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/resizeImage-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,339
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/resizeImage-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,340
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/images/images.test.ts-snapshots/resizeImage-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,341
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts
import { test } from "../../setup/setupScript"; import { BASE_URL, UNNEST_BLOCK_BUTTON_SELECTOR, H_THREE_BLOCK_SELECTOR, H_TWO_BLOCK_SELECTOR, NEST_BLOCK_BUTTON_SELECTOR, } from "../../utils/const"; import { compareDocToSnapshot, focusOnEditor } from "../../utils/editor"; import { insertHeading, insertParagra...
4,342
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,343
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,344
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,345
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,346
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,347
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,348
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentMultipleBlocks-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,349
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentMultipleBlocks-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,350
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentMultipleBlocks-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,351
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,352
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,353
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,354
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts
import { test } from "../../setup/setupScript"; import { BASE_URL, ITALIC_BUTTON_SELECTOR, H_ONE_BLOCK_SELECTOR, H_TWO_BLOCK_SELECTOR, } from "../../utils/const"; import { compareDocToSnapshot, focusOnEditor } from "../../utils/editor"; import { insertHeading, insertParagraph } from "../../utils/copypaste"; te...
4,355
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesMarks-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,356
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesMarks-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,357
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesMarks-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,358
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,359
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,360
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,361
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,362
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,363
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspaceStartOfBlock-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,364
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,365
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,366
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,367
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocks-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,368
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocks-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,369
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocks-json-webkit-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,370
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterSelectionNotEmpty-json-chromium-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...
4,371
0
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers
petrpan-code/TypeCellOS/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterSelectionNotEmpty-json-firefox-linux.json
{ "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "t...