mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-08 01:05:28 +08:00
Update readme
This commit is contained in:
parent
1df92a16c3
commit
781b7c20fe
@ -90,9 +90,9 @@ InlineEditor.defaultConfig = {
|
|||||||
### Styles for Lark theme
|
### Styles for Lark theme
|
||||||
__Copy theme/ckeditor5-math folder__ from [https://github.com/isaul32/ckeditor5-theme-lark](https://github.com/isaul32/ckeditor5-theme-lark) to your lark theme repository or install
|
__Copy theme/ckeditor5-math folder__ from [https://github.com/isaul32/ckeditor5-theme-lark](https://github.com/isaul32/ckeditor5-theme-lark) to your lark theme repository or install
|
||||||
|
|
||||||
`npm install @ckeditor/ckeditor5-theme-lark@https://github.com/isaul32/ckeditor5-theme-lark --save-dev`
|
`npm install @ckeditor/ckeditor5-theme-lark@github:isaul32/ckeditor5-theme-lark#v18.0.0 --save-dev`
|
||||||
|
|
||||||
Styles requires PostCSS like official CKEditor 5 plugins.
|
Styles requires PostCSS like official CKEditor 5 plugins. Use same tag version as the editor.
|
||||||
|
|
||||||
## Configuration & Usage
|
## Configuration & Usage
|
||||||
|
|
||||||
@ -167,9 +167,9 @@ __\\(__ x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} __\\)__
|
|||||||
#### From Microsoft Word
|
#### From Microsoft Word
|
||||||
Use [__paste from office__](https://github.com/isaul32/ckeditor5-paste-from-office) fork instead of official. This feature is __experimental__ and might not work always (look source codes).
|
Use [__paste from office__](https://github.com/isaul32/ckeditor5-paste-from-office) fork instead of official. This feature is __experimental__ and might not work always (look source codes).
|
||||||
|
|
||||||
Install paste from office fork
|
Install paste from office fork. Use same tag version as the editor.
|
||||||
|
|
||||||
`npm install @ckeditor/ckeditor5-paste-from-office@github:isaul32/ckeditor5-paste-from-office --save-dev`
|
`npm install @ckeditor/ckeditor5-paste-from-office@github:isaul32/ckeditor5-paste-from-office#v18.0.0 --save-dev`
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice';
|
import PasteFromOffice from '@ckeditor/ckeditor5-paste-from-office/src/pastefromoffice';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user