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