no tabs
This commit is contained in:
@@ -120,88 +120,88 @@ git submodule add https://git.seemsleg.it/pub/cssjs-func-lib cssjs
|
|||||||
<script src="/cssjs/ckeditor.js"></script>
|
<script src="/cssjs/ckeditor.js"></script>
|
||||||
|
|
||||||
<script>ClassicEditor
|
<script>ClassicEditor
|
||||||
.create( document.querySelector( '.editor' ), {
|
.create( document.querySelector( '.editor' ), {
|
||||||
|
|
||||||
toolbar: {
|
toolbar: {
|
||||||
items: [
|
items: [
|
||||||
'heading',
|
'heading',
|
||||||
'|',
|
'|',
|
||||||
'bold',
|
'bold',
|
||||||
'italic',
|
'italic',
|
||||||
'underline',
|
'underline',
|
||||||
'link',
|
'link',
|
||||||
'removeFormat',
|
'removeFormat',
|
||||||
'fontSize',
|
'fontSize',
|
||||||
'fontFamily',
|
'fontFamily',
|
||||||
'|',
|
'|',
|
||||||
'bulletedList',
|
'bulletedList',
|
||||||
'numberedList',
|
'numberedList',
|
||||||
'todoList',
|
'todoList',
|
||||||
'|',
|
'|',
|
||||||
'indent',
|
'indent',
|
||||||
'outdent',
|
'outdent',
|
||||||
'alignment',
|
'alignment',
|
||||||
'horizontalLine',
|
'horizontalLine',
|
||||||
'|',
|
'|',
|
||||||
'imageUpload',
|
'imageUpload',
|
||||||
'imageInsert',
|
'imageInsert',
|
||||||
'blockQuote',
|
'blockQuote',
|
||||||
'insertTable',
|
'insertTable',
|
||||||
'mediaEmbed',
|
'mediaEmbed',
|
||||||
'undo',
|
'undo',
|
||||||
'redo',
|
'redo',
|
||||||
'|',
|
'|',
|
||||||
'codeBlock',
|
'codeBlock',
|
||||||
'exportPdf',
|
'exportPdf',
|
||||||
'htmlEmbed',
|
'htmlEmbed',
|
||||||
'exportWord',
|
'exportWord',
|
||||||
'highlight'
|
'highlight'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
language: 'de',
|
language: 'de',
|
||||||
image: {
|
image: {
|
||||||
toolbar: [
|
toolbar: [
|
||||||
'imageTextAlternative',
|
'imageTextAlternative',
|
||||||
'|',
|
'|',
|
||||||
'imageStyle:full',
|
'imageStyle:full',
|
||||||
'imageStyle:side',
|
'imageStyle:side',
|
||||||
'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight',
|
'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight',
|
||||||
'|',
|
'|',
|
||||||
'imageResize',
|
'imageResize',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
table: {
|
table: {
|
||||||
contentToolbar: [
|
contentToolbar: [
|
||||||
'tableColumn',
|
'tableColumn',
|
||||||
'tableRow',
|
'tableRow',
|
||||||
'mergeTableCells'
|
'mergeTableCells'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
licenseKey: '',
|
licenseKey: '',
|
||||||
|
|
||||||
} )
|
} )
|
||||||
.then( editor => {
|
.then( editor => {
|
||||||
window.editor = editor;
|
window.editor = editor;
|
||||||
} )
|
} )
|
||||||
.catch( error => {
|
.catch( error => {
|
||||||
console.error( 'Oops, something went wrong!' );
|
console.error( 'Oops, something went wrong!' );
|
||||||
console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' );
|
console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' );
|
||||||
console.warn( 'Build id: p276tlu14l98-tj7z79o4qxsd' );
|
console.warn( 'Build id: p276tlu14l98-tj7z79o4qxsd' );
|
||||||
console.error( error );
|
console.error( error );
|
||||||
} );
|
} );
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
Heading
|
Heading
|
||||||
```
|
```
|
||||||
...
|
...
|
||||||
heading: {
|
heading: {
|
||||||
options: [
|
options: [
|
||||||
{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
|
{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
|
||||||
{ model: 'heading1', view: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' },
|
{ model: 'heading1', view: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' },
|
||||||
{ model: 'heading2', view: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' }
|
{ model: 'heading2', view: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -701,7 +701,7 @@
|
|||||||
(next === NU || ([OP, HY].indexOf(next) !== -1 && classTypes[afterIndex + 1] === NU))) ||
|
(next === NU || ([OP, HY].indexOf(next) !== -1 && classTypes[afterIndex + 1] === NU))) ||
|
||||||
// ( OP | HY ) × NU
|
// ( OP | HY ) × NU
|
||||||
([OP, HY].indexOf(current) !== -1 && next === NU) ||
|
([OP, HY].indexOf(current) !== -1 && next === NU) ||
|
||||||
// NU × (NU | SY | IS)
|
// NU × (NU | SY | IS)
|
||||||
(current === NU && [NU, SY, IS].indexOf(next) !== -1)) {
|
(current === NU && [NU, SY, IS].indexOf(next) !== -1)) {
|
||||||
return BREAK_NOT_ALLOWED$1;
|
return BREAK_NOT_ALLOWED$1;
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+21
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+6
-6
@@ -1,8 +1,8 @@
|
|||||||
.parallax{
|
.parallax{
|
||||||
height: 600px;
|
height: 600px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: 100% auto;
|
background-position: 100% auto;
|
||||||
position:relative;
|
position:relative;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user