Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strapi-plugin-ckeditor5

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-plugin-ckeditor5 - npm Package Compare versions

Comparing version 1.11.0 to 1.12.0

237

admin/src/config/ckeditor.js

@@ -1,100 +0,137 @@

module.exports = ({
////// CONFIGURATION TEMPLATE: uncomment desired lines to override default config.
////// While all lines are commented, config will not change anything.
toolbar: {
// items: [
// 'heading',
// '|',
// 'fontFamily',
// 'fontSize',
// 'fontColor',
// '|',
// 'bold',
// 'italic',
// 'underline',
// 'subscript',
// 'superscript',
// 'code',
// 'link',
// 'bulletedList',
// 'numberedList',
// 'insertImage',
// 'strapiMediaLib',
// '|',
// 'alignment',
// 'indent',
// 'outdent',
// '|',
// 'specialCharacters',
// 'blockQuote',
// 'insertTable',
// 'mediaEmbed',
// 'htmlEmbed',
// 'codeBlock',
// 'horizontalLine',
// '|',
// 'fullScreen',
// 'undo',
// 'redo',
// ],
// shouldNotGroupWhenFull: true
},
image: {
// styles: [
// 'alignLeft',
// 'alignCenter',
// 'alignRight',
// ],
// resizeOptions: [
// {
// name: 'resizeImage:original',
// value: null,
// icon: 'original'
// },
// {
// name: 'resizeImage:50',
// value: '50',
// icon: 'medium'
// },
// {
// name: 'resizeImage:75',
// value: '75',
// icon: 'large'
// }
// ],
// toolbar: [
// 'imageStyle:alignLeft',
// 'imageStyle:alignCenter',
// 'imageStyle:alignRight',
// '|',
// 'imageTextAlternative',
// '|',
// 'resizeImage:50',
// 'resizeImage:75',
// 'resizeImage:original',
// '|',
// 'linkImage',
// ]
},
table: {
// contentToolbar: [
// 'tableColumn',
// 'tableRow',
// 'mergeTableCells',
// 'tableProperties',
// 'tableCellProperties',
// ]
},
heading: {
// options: [
// { model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
// { model: 'heading1', view: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' },
// { model: 'heading2', view: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' },
// { model: 'heading3', view: 'h3', title: 'Heading 3', class: 'ck-heading_heading3' },
// { model: 'heading4', view: 'h4', title: 'Heading 4', class: 'ck-heading_heading4' },
// ]
},
htmlEmbed: {
// showPreviews: true
},
});
module.exports = {
////// CONFIGURATION TEMPLATE: uncomment desired lines to override default config.
////// While all lines are commented, config will not change anything.
toolbar: {
// items: [
// "heading",
// "|",
// "fontFamily",
// "fontSize",
// "fontColor",
// "|",
// "bold",
// "italic",
// "underline",
// "subscript",
// "superscript",
// "removeFormat",
// "code",
// "link",
// "bulletedList",
// "numberedList",
// "insertImage",
// "strapiMediaLib",
// "|",
// "alignment",
// "indent",
// "outdent",
// "|",
// "specialCharacters",
// "blockQuote",
// "insertTable",
// "mediaEmbed",
// "htmlEmbed",
// "codeBlock",
// "horizontalLine",
// "|",
// "fullScreen",
// "undo",
// "redo",
// ],
// shouldNotGroupWhenFull: true
},
image: {
// styles: [
// "alignLeft",
// "alignCenter",
// "alignRight",
// ],
// resizeOptions: [
// {
// name: "resizeImage:original",
// value: null,
// icon: "original"
// },
// {
// name: "resizeImage:50",
// value: "50",
// icon: "medium"
// },
// {
// name: "resizeImage:75",
// value: "75",
// icon: "large"
// }
// ],
// toolbar: [
// "imageStyle:alignLeft",
// "imageStyle:alignCenter",
// "imageStyle:alignRight",
// "|",
// "imageTextAlternative",
// "|",
// "resizeImage:50",
// "resizeImage:75",
// "resizeImage:original",
// "|",
// "linkImage",
// ]
},
table: {
// contentToolbar: [
// "tableColumn",
// "tableRow",
// "mergeTableCells",
// "tableProperties",
// "tableCellProperties",
// ]
},
heading: {
// options: [
// { model: "paragraph", title: "Paragraph", class: "ck-heading_paragraph" },
// { model: "heading1", view: "h1", title: "Heading 1", class: "ck-heading_heading1" },
// { model: "heading2", view: "h2", title: "Heading 2", class: "ck-heading_heading2" },
// { model: "heading3", view: "h3", title: "Heading 3", class: "ck-heading_heading3" },
// { model: "heading4", view: "h4", title: "Heading 4", class: "ck-heading_heading4" },
// ]
},
htmlEmbed: {
// showPreviews: true,
},
fontFamily: {
// options: [
// "default",
// "Arial, Helvetica, sans-serif",
// "Courier New, Courier, monospace",
// "Georgia, serif",
// "Lucida Sans Unicode, Lucida Grande, sans-serif",
// "Tahoma, Geneva, sans-serif",
// "Times New Roman, Times, serif",
// "Trebuchet MS, Helvetica, sans-serif",
// "Verdana, Geneva, sans-serif",
// "JetBrains Mono, monospace",
// "Lato, Inter, sans-serif",
// ],
},
link: {
// defaultProtocol: "http://",
// decorators: [
// {
// mode: "manual",
// label: "Open in a new tab",
// defaultValue: true,
// attributes: {
// target: "_blank",
// rel: "noopener noreferrer",
// },
// },
// {
// mode: "manual",
// label: "Downloadable",
// attributes: {
// download: "download",
// },
// },
// ],
},
};
{
"name": "strapi-plugin-ckeditor5",
"version": "1.11.0",
"version": "1.12.0",
"description": "Replace Strapi default WYSIWYG editor with enhanced build of CKEditor 5",

@@ -38,3 +38,3 @@ "private": false,

"@ckeditor/ckeditor5-react": "^3.0.2",
"ckeditor5-build-strapi-wysiwyg": "^1.11.0"
"ckeditor5-build-strapi-wysiwyg": "^1.12.0"
},

@@ -41,0 +41,0 @@ "author": {

@@ -5,6 +5,4 @@ # Strapi CKEditor5 plugin

![strapi-plugin-ckeditor5](sample/strapi-plugin-ckeditor5.png)
![strapi-plugin-ckeditor5](https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg/raw/main/demo/demo.png)
_Sample for [this](https://faryaros.com/articles/it2021) article._
[👀 **Live Demo**](https://roslovets-inc.github.io/ckeditor5-build-strapi-wysiwyg/)

@@ -11,0 +9,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc