Skip to content

Commit 1f6adf3

Browse files
authored
Carve out ck5 for license reasons (#20)
1 parent f543741 commit 1f6adf3

File tree

4 files changed

+5
-68
lines changed

4 files changed

+5
-68
lines changed

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ default TipTap frontend), and set the editor you want to use:
5151

5252
.. code-block:: python
5353
54-
INSTALLED_APPS = [..., "djangocms_text.contrib.text_ckeditor5", ...]
55-
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor5.ckeditor5"
54+
INSTALLED_APPS = [..., "djangocms_text.contrib.text_ckeditor4", ...]
55+
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor4.ckeditor4"
5656
5757
5858
Upgrading from djangocms-text-ckeditor
@@ -145,6 +145,9 @@ Example::
145145
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor5.ckeditor4"
146146

147147

148+
Other rich text editors may be available, e.g. CKEditor 5 in ``extension_text_ckeditor5``.
149+
150+
148151
Inline editing feature
149152
~~~~~~~~~~~~~~~~~~~~~~
150153

djangocms_text/contrib/text_ckeditor5/__init__.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

djangocms_text/contrib/text_ckeditor5/static/djangocms_text/css/cms.ckeditor5.css

Lines changed: 0 additions & 41 deletions
This file was deleted.

webpack.config.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
3-
const {styles} = require('@ckeditor/ckeditor5-dev-utils');
43
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
54

65

@@ -9,7 +8,6 @@ const distribution = {
98
tiptap: 'static/djangocms_text/',
109
tinymce: 'contrib/text_tinymce/static/djangocms_text/',
1110
ckeditor4: 'contrib/text_ckeditor4/static/djangocms_text/',
12-
ckeditor5: 'contrib/text_ckeditor5/static/djangocms_text/',
1311
quill: 'contrib/text_quill/static/djangocms_text/',
1412
};
1513

@@ -18,7 +16,6 @@ module.exports = {
1816
editor: './private/js/cms.editor.js',
1917
tiptap: './private/js/cms.tiptap.js',
2018
tinymce: './private/js/cms.tinymce.js',
21-
ckeditor5: './private/js/cms.ckeditor5.js',
2219
ckeditor4: './private/js/cms.ckeditor4.js',
2320
quill: './private/js/cms.quill.js',
2421
},
@@ -56,18 +53,6 @@ module.exports = {
5653
}
5754
}
5855
},
59-
'css-loader',
60-
{
61-
loader: 'postcss-loader',
62-
options: {
63-
postcssOptions: styles.getPostCssConfig({
64-
themeImporter: {
65-
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
66-
},
67-
minify: true
68-
})
69-
}
70-
}
7156
]
7257
},
7358
{

0 commit comments

Comments
 (0)