### Install core engine and full bundle Source: https://deepwiki.com/JackUait/blok/1.1-getting-started Install the core engine with npm, then import the Blok class and default tools from the full entry point for a batteries-included setup. ```bash # Core engine only npm install @bloklabs/core ``` ```javascript # Batteries-included bundle # Includes Paragraph, Header, List, Image, etc. import { Blok, defaultTools, defaultInlineTools } from '@bloklabs/core/full'; ``` -------------------------------- ### Initialize Blok and Wait for isReady Source: https://deepwiki.com/JackUait/blok/1.1-getting-started Creates a new Blok editor instance with a holder element and autofocus, then logs a success message or an error if initialization fails. The isReady promise resolves after UI preparation, style loading, and initial data rendering complete. ```javascript const editor = new Blok({ holder: 'editorjs', autofocus: true }); editor.isReady .then(() => { console.log('Blok is ready to work!'); }) .catch((reason) => { console.error(`Blok initialization failed because of ${reason}`); }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.