Skip to content
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
20 changes: 0 additions & 20 deletions Build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,26 +126,6 @@ module.exports = function(grunt) {
src: '<%= paths.js %>Src/bootstrap.cookieconsent.js',
dest: '<%= paths.js %>Dist/bootstrap.cookieconsent.min.js'
},
ckeditor_address: {
src: '<%= paths.resources %>Public/CKEditor/Plugins/Address/plugin.js',
dest: '<%= paths.resources %>Public/CKEditor/Plugins/Address/plugin.min.js'
},
ckeditor_box: {
src: '<%= paths.resources %>Public/CKEditor/Plugins/Box/plugin.js',
dest: '<%= paths.resources %>Public/CKEditor/Plugins/Box/plugin.min.js'
},
ckeditor_columns: {
src: '<%= paths.resources %>Public/CKEditor/Plugins/Columns/plugin.js',
dest: '<%= paths.resources %>Public/CKEditor/Plugins/Columns/plugin.min.js'
},
ckeditor_indent: {
src: '<%= paths.resources %>Public/CKEditor/Plugins/Indent/plugin.js',
dest: '<%= paths.resources %>Public/CKEditor/Plugins/Indent/plugin.min.js'
},
ckeditor_table: {
src: '<%= paths.resources %>Public/CKEditor/Plugins/Table/plugin.js',
dest: '<%= paths.resources %>Public/CKEditor/Plugins/Table/plugin.min.js'
}
},
removesourcemap: {
contrib: {
Expand Down
4 changes: 4 additions & 0 deletions Configuration/JavaScriptModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
'dependencies' => [
'core',
'form',
'rte_ckeditor',
],
'tags' => [
'backend.form',
],
'imports' => [
'@bk2k/bootstrap-package/' => 'EXT:bootstrap_package/Resources/Public/JavaScript/ESM/',
Expand Down
32 changes: 11 additions & 21 deletions Configuration/RTE/Default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,23 @@ imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }

editor:
externalPlugins:
bootstrappackage_address:
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Address/plugin.min.js"
bootstrappackage_box:
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Box/plugin.min.js"
bootstrappackage_columns:
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Columns/plugin.min.js"
bootstrappackage_indent:
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Indent/plugin.min.js"
bootstrappackage_table:
resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Table/plugin.min.js"

config:
importModules:
- { module: '@bk2k/bootstrap-package/rte_ckeditor/address-plugin.js', exports: ['BootstrapPackageAddress'] }
- { module: '@bk2k/bootstrap-package/rte_ckeditor/box-plugin.js', exports: ['BootstrapPackageBox'] }
- { module: '@bk2k/bootstrap-package/rte_ckeditor/table-plugin.js', exports: ['BootstrapPackageTablePlugin'] }
- { module: '@bk2k/bootstrap-package/rte_ckeditor/text-column-plugin.js', exports: ['BootstrapPackageTextColumn'] }
- { module: '@bk2k/bootstrap-package/rte_ckeditor/text-indent-plugin.js', exports: ['BootstrapPackageTextIndent'] }

contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap5-rte.min.css"

stylesSet:
- { name: "Lead", element: "p", attributes: { 'class': 'lead' } }
- { name: "Small", element: "small" }

- { name: "Table", element: "table", attributes: { 'class': 'table' } }
- { name: "Table Striped", element: "table", attributes: { 'class': 'table table-striped' } }
- { name: "Table Bordered", element: "table", attributes: { 'class': 'table table-bordered' } }
- { name: "Table Condensed", element: "table", attributes: { 'class': 'table table-condensed' } }
- { name: "Table Striped", element: "table", attributes: { 'class': 'table-striped' } }
- { name: "Table Bordered", element: "table", attributes: { 'class': 'table-bordered' } }
- { name: "Table Condensed", element: "table", attributes: { 'class': 'table-condensed' } }

- { name: "Row Active", element: "tr", attributes: { 'class': 'table-active' } }
- { name: "Row Success", element: "tr", attributes: { 'class': 'table-success' } }
Expand Down Expand Up @@ -100,6 +94,7 @@ editor:
- { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] }
- { name: bootstrappackage, groups: [ address, box, textColumn, textIndent ] }
- { name: document, groups: [ mode ] }

format_tags: "p;h1;h2;h3;h4;h5;pre"
Expand All @@ -113,11 +108,6 @@ editor:
extraPlugins:
- justify
- autolink
- bootstrappackage_address
- bootstrappackage_box
- bootstrappackage_columns
- bootstrappackage_indent
- bootstrappackage_table

removePlugins:
- image
Expand Down
Binary file not shown.
Binary file not shown.
7 changes: 0 additions & 7 deletions Resources/Public/CKEditor/Plugins/Address/lang/de.js

This file was deleted.

7 changes: 0 additions & 7 deletions Resources/Public/CKEditor/Plugins/Address/lang/en.js

This file was deleted.

58 changes: 0 additions & 58 deletions Resources/Public/CKEditor/Plugins/Address/plugin.js

This file was deleted.

1 change: 0 additions & 1 deletion Resources/Public/CKEditor/Plugins/Address/plugin.min.js

This file was deleted.

Binary file removed Resources/Public/CKEditor/Plugins/Box/icons/box.png
Binary file not shown.
Binary file not shown.
7 changes: 0 additions & 7 deletions Resources/Public/CKEditor/Plugins/Box/lang/de.js

This file was deleted.

7 changes: 0 additions & 7 deletions Resources/Public/CKEditor/Plugins/Box/lang/en.js

This file was deleted.

Loading