1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-25 16:19:44 +02:00

Set auth cookie lifetime (#102)

* Set auth cookie lifetime

* Small fixes

- upgrade editor and tools
- add link tool
- move "save" button and "uri" field

* Update twig.js

* move to deps
This commit is contained in:
Taly 2020-07-27 20:42:37 +03:00 committed by GitHub
parent 40d5285e5e
commit 94a9a963ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 2413 additions and 793 deletions

View file

@ -11,6 +11,7 @@ import Delimiter from '@editorjs/delimiter';
import Table from '@editorjs/table';
import Warning from '@editorjs/warning';
import Checklist from '@editorjs/checklist';
import LinkTool from '@editorjs/link';
/**
* Inline Tools for the Editor
@ -59,6 +60,13 @@ export default class Editor {
}
},
linkTool: {
class: LinkTool,
config: {
endpoint: '/api/fetchUrl',
}
},
code: {
class: CodeTool,
shortcut: 'CMD+SHIFT+D'