Skip to content

Commit

Permalink
Carve out ck5 for license reasons (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun authored Oct 2, 2024
1 parent f543741 commit 1f6adf3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 68 deletions.
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

0 comments on commit 1f6adf3

Please sign in to comment.