fix CKEditor links
This commit is contained in:
parent
e27da9fca9
commit
104f538e3a
@ -684,6 +684,7 @@ export const ModalTiсket = ({
|
||||
editor={ClassicEditor}
|
||||
data={inputsValue.description}
|
||||
config={{
|
||||
toolbar: ["link"],
|
||||
removePlugins: [
|
||||
"CKFinderUploadAdapter",
|
||||
"CKFinder",
|
||||
@ -695,7 +696,10 @@ export const ModalTiсket = ({
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
"BlockQuote"
|
||||
]
|
||||
],
|
||||
link: {
|
||||
addTargetToExternalLinks: true
|
||||
}
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -625,7 +625,10 @@ export const TrackerModal = ({
|
||||
"numberedList"
|
||||
],
|
||||
removePlugins: ["BlockQuote"],
|
||||
placeholder: "Описание задачи"
|
||||
placeholder: "Описание задачи",
|
||||
link: {
|
||||
addTargetToExternalLinks: true
|
||||
}
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
@ -121,6 +121,7 @@ export const TrackerTaskComment = ({
|
||||
editor={ClassicEditor}
|
||||
data={commentsEditText}
|
||||
config={{
|
||||
toolbar: ["link"],
|
||||
removePlugins: [
|
||||
"CKFinderUploadAdapter",
|
||||
"CKFinder",
|
||||
@ -132,7 +133,10 @@ export const TrackerTaskComment = ({
|
||||
"ImageUpload",
|
||||
"MediaEmbed",
|
||||
"BlockQuote"
|
||||
]
|
||||
],
|
||||
link: {
|
||||
addTargetToExternalLinks: true
|
||||
}
|
||||
}}
|
||||
onChange={(event, editor) => {
|
||||
const data = editor.getData();
|
||||
|
Loading…
Reference in New Issue
Block a user