From 4e5796a5d0bda103463648394235c547a4c19553 Mon Sep 17 00:00:00 2001 From: Sebastian Titz Date: Mon, 10 May 2021 12:56:30 +0200 Subject: [PATCH] heading extension doku --- README.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8d9c472..d8a3be0 100644 --- a/README.md +++ b/README.md @@ -169,14 +169,6 @@ git submodule add https://git.seemsleg.it/pub/cssjs-func-lib cssjs } ) .then( editor => { window.editor = editor; - - - - - - - - } ) .catch( error => { console.error( 'Oops, something went wrong!' ); @@ -187,6 +179,19 @@ git submodule add https://git.seemsleg.it/pub/cssjs-func-lib cssjs ``` +Heading +``` +... + heading: { + options: [ + { model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' }, + { model: 'heading1', view: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' }, + { model: 'heading2', view: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' } + ] + } +... +``` + ## mailto ``` mail@no-thx-server.de