Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Commit

Permalink
default headers
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Sep 7, 2019
1 parent 0faeb9e commit 7264a57
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@ DecoupledEditor.defaultConfig = {
'redo'
]
},
heading: {
options: [
{ model: 'paragraph', title: 'Paragraph', class: '' },
{ model: 'heading1', view: 'h1', title: 'Heading 1', class: '' },
{ model: 'heading2', view: 'h2', title: 'Heading 2', class: '' },
{ model: 'heading3', view: 'h3', title: 'Heading 3', class: '' },
{ model: 'heading4', view: 'h4', title: 'Heading 4', class: '' },
{ model: 'heading5', view: 'h5', title: 'Heading 5', class: '' },
{ model: 'heading6', view: 'h6', title: 'Heading 6', class: '' }
]
},
image: {
styles: [
'full',
Expand Down

0 comments on commit 7264a57

Please sign in to comment.