From 92ccfc53173dc2829e82fd869cdab5bc6b9ef146 Mon Sep 17 00:00:00 2001 From: Al-Amin Firdows <30468274+alaminfirdows@users.noreply.github.com> Date: Thu, 2 Nov 2023 22:46:09 +0600 Subject: [PATCH] docs: replace holderId config by holder (#2525) * docs: replace holderId by holder * docs: replace holderId by holder --- docs/installation.md | 4 ++-- docs/tools.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 6d90c635..6ee6b19a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -69,7 +69,7 @@ Check [Editor.js's community](https://github.com/editor-js/) to see Tools exampl ## Create Editor instance Create an instance of Editor.js and pass [Configuration Object](../src/types-internal/editor-config.ts). -At least the `holderId` option is required. +At least the `holder` option is required. ```html
@@ -92,7 +92,7 @@ var editor = new EditorJS({ /** * Create a holder for the Editor and pass its ID */ - holderId : 'editorjs', + holder : 'editorjs', /** * Available Tools list. diff --git a/docs/tools.md b/docs/tools.md index fef129ed..7cc4fd21 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -70,7 +70,7 @@ to the `tools` property of Editor Config. ```javascript var editor = new EditorJS({ - holderId : 'editorjs', + holder : 'editorjs', tools: { text: { class: Text,