Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
feat: enabled inline links
Browse files Browse the repository at this point in the history
changed Link to LinkTool to also enable inline links. See Jungwoo-An/react-editor-js#6.
  • Loading branch information
jaskipper committed Feb 27, 2022
1 parent 1f2d9a7 commit ad11533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/src/config/customTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Table from '@editorjs/table'
import List from '@editorjs/list'
import Warning from '@editorjs/warning'
import Code from '@editorjs/code'
import Link from '@editorjs/link'
import LinkTool from '@editorjs/link'
import Raw from '@editorjs/raw'
import Header from '@editorjs/header'
import Quote from '@editorjs/quote'
Expand Down Expand Up @@ -33,8 +33,8 @@ const customTools = {
},
},
code: Code,
link: {
class: Link,
LinkTool: {
class: LinkTool,
config: {
endpoint: `/api/${PluginId}/link`,
},
Expand Down

0 comments on commit ad11533

Please sign in to comment.