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

Carve out ck5 for license reasons #20

Merged
merged 3 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ default TipTap frontend), and set the editor you want to use:

.. code-block:: python

INSTALLED_APPS = [..., "djangocms_text.contrib.text_ckeditor5", ...]
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor5.ckeditor5"
INSTALLED_APPS = [..., "djangocms_text.contrib.text_ckeditor4", ...]
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor4.ckeditor4"


Upgrading from djangocms-text-ckeditor
Expand Down Expand Up @@ -145,6 +145,9 @@ Example::
DJANGOCMS_TEXT_EDITOR = "djangocms_text.contrib.text_ckeditor5.ckeditor4"


Other rich text editors may be available, e.g. CKEditor 5 in ``extension_text_ckeditor5``.


Inline editing feature
~~~~~~~~~~~~~~~~~~~~~~

Expand Down
10 changes: 0 additions & 10 deletions djangocms_text/contrib/text_ckeditor5/__init__.py

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const {styles} = require('@ckeditor/ckeditor5-dev-utils');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');


Expand All @@ -9,7 +8,6 @@ const distribution = {
tiptap: 'static/djangocms_text/',
tinymce: 'contrib/text_tinymce/static/djangocms_text/',
ckeditor4: 'contrib/text_ckeditor4/static/djangocms_text/',
ckeditor5: 'contrib/text_ckeditor5/static/djangocms_text/',
quill: 'contrib/text_quill/static/djangocms_text/',
};

Expand All @@ -18,7 +16,6 @@ module.exports = {
editor: './private/js/cms.editor.js',
tiptap: './private/js/cms.tiptap.js',
tinymce: './private/js/cms.tinymce.js',
ckeditor5: './private/js/cms.ckeditor5.js',
ckeditor4: './private/js/cms.ckeditor4.js',
quill: './private/js/cms.quill.js',
},
Expand Down Expand Up @@ -56,18 +53,6 @@ module.exports = {
}
}
},
'css-loader',
{
loader: 'postcss-loader',
options: {
postcssOptions: styles.getPostCssConfig({
themeImporter: {
themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
},
minify: true
})
}
}
]
},
{
Expand Down
Loading