v0.5.2 - Made the new menuplan, so you now can use CKeditor.

This commit is contained in:
2020-08-05 14:59:41 +02:00
parent 5fa22d748a
commit a04c38636b
3 changed files with 20 additions and 21 deletions
@@ -29,20 +29,13 @@
<script>
ClassicEditor
.create( document.querySelector( '#editor' ), {
toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote' ],
heading: {
options: [
{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
{ model: 'heading1', view: 'h3', title: 'Heading 1', class: 'sde-blue' },
{ model: 'heading2', view: 'h4', title: 'Heading 2', class: 'sde-blue' }
]
}
.create( document.querySelector( '#editor' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.log( error );
console.error( error );
} );
</script>
@endsection