diff --git a/CHANGELOG.md b/CHANGELOG.md index 20facb9..b94b680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ ## Draft 2.x.x +- [Issue 60](https://github.com/lemberg/draft/issues/60) - Add CKEDitor profiles - [Issue 46](https://github.com/lemberg/draft/issues/46) - Add paragraph Simple - CTA - [Issue 55](https://github.com/lemberg/draft/issues/55) - Add paragraphs Link - Default and Link - File - [Issue 45](https://github.com/lemberg/draft/issues/45) - Add paragraph Hero - Basic diff --git a/config/install/editor.editor.basic_html.yml b/config/install/editor.editor.basic_html.yml new file mode 100644 index 0000000..eaf5e54 --- /dev/null +++ b/config/install/editor.editor.basic_html.yml @@ -0,0 +1,50 @@ +langcode: en +status: true +dependencies: + config: + - filter.format.basic_html + module: + - ckeditor +format: basic_html +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Bold + - Italic + - + name: Links + items: + - DrupalLink + - DrupalUnlink + - + name: Lists + items: + - BulletedList + - NumberedList + - + name: Format + items: + - Format + - Styles + - + name: Tools + items: + - Source + plugins: + language: + language_list: un + stylescombo: + styles: '' +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/install/editor.editor.restricted.yml b/config/install/editor.editor.restricted.yml new file mode 100644 index 0000000..ead5a64 --- /dev/null +++ b/config/install/editor.editor.restricted.yml @@ -0,0 +1,44 @@ +langcode: en +status: true +dependencies: + config: + - filter.format.restricted + module: + - ckeditor +format: restricted +editor: ckeditor +settings: + toolbar: + rows: + - + - + name: Formatting + items: + - Bold + - Italic + - + name: Links + items: + - DrupalLink + - DrupalUnlink + - + name: Tools + items: + - Source + - + name: Format + items: + - Format + plugins: + language: + language_list: un + stylescombo: + styles: '' +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: null + height: null diff --git a/config/install/filter.format.basic_html.yml b/config/install/filter.format.basic_html.yml new file mode 100644 index 0000000..41b6e52 --- /dev/null +++ b/config/install/filter.format.basic_html.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: { } +name: 'Basic HTML' +format: basic_html +weight: 0 +filters: + filter_html: + id: filter_html + provider: filter + status: true + weight: -10 + settings: + allowed_html: '