fix CKEditor links

This commit is contained in:
2024-07-23 13:34:05 +03:00
parent e27da9fca9
commit 104f538e3a
3 changed files with 14 additions and 3 deletions

View File

@ -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();