Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable uploading file into RTE (CKEditor) field with drag&drop in CP and Channel Form #4171

Open
wants to merge 19 commits into
base: 7.dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove what does not belong here
  • Loading branch information
intoeetive committed Mar 21, 2024
commit 18025f0a6d384d57c875c3a4048f490ba2186f0e
2 changes: 0 additions & 2 deletions js-src/ckeditor5-build-classic/src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import { GeneralHtmlSupport } from '@ckeditor/ckeditor5-html-support';
import { SourceEditing } from '@ckeditor/ckeditor5-source-editing';
import { ShowBlocks } from '@ckeditor/ckeditor5-show-blocks';
import { FindAndReplace } from '@ckeditor/ckeditor5-find-and-replace';
import { SimpleUploadAdapter } from '@ckeditor/ckeditor5-upload';

import Mention from '../plugins/ckeditor5-mention/src/mention';
import ReadMore from '../plugins/readmore/src/readmore';
Expand All @@ -56,7 +55,6 @@ export default class ClassicEditor extends ClassicEditorBase {}
// Plugins to include in the build.
ClassicEditor.builtinPlugins = [
Essentials,
SimpleUploadAdapter,
FindAndReplace,
Autoformat,
Clipboard,
Expand Down
20 changes: 10 additions & 10 deletions themes/ee/asset/javascript/src/fields/rte/ckeditor/ckeditor.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion themes/ee/asset/javascript/src/fields/rte/rte.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ window.Rte;
})
}
}
console.log(this.config);
var textareaId = this.id;
ClassicEditor.create(document.querySelector('#'+this.id), this.config)
.then( editor => {
Expand Down