heading extension doku

This commit is contained in:
Sebastian Titz 2021-05-10 12:56:30 +02:00
parent 94c60eacb9
commit 4e5796a5d0

View File

@ -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
</script>
```
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
```
<span class="mailto">mail@<span style="display:none;">no-thx-</span>server.de</span