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:
parent
40d5285e5e
commit
94a9a963ff
17 changed files with 2413 additions and 793 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue