MCPcopy
hub / github.com/codex-team/editor.js / render

Method render

test/cypress/tests/copy-paste.cy.ts:193–201  ·  view source on GitHub ↗

* Render block

()

Source from the content-addressed store, hash-verified

191 * Render block
192 */
193 public render(): HTMLElement {
194 const block = $.make('div', 'ce-block-with-disabled-prevent-default', {
195 contentEditable: 'true',
196 });
197
198 block.addEventListener('paste', onPasteStub);
199
200 return block;
201 }
202
203 /**
204 * Save data method

Callers

nothing calls this directly

Calls 1

makeMethod · 0.45

Tested by

no test coverage detected