Socket
Socket
Sign inDemoInstall

@dosgato/dialog-ckeditor

Package Overview
Dependencies
68
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.24 to 0.0.25

34

dist/RichTextTypes.js

@@ -26,5 +26,10 @@ const defaultHeaderColors = [

'italic',
'strikethrough',
'superscript',
'subscript',
'code',
'removeFormat',
'|',
'horizontalLine',
'blockQuote',
'removeFormat',
'specialCharacters',

@@ -108,4 +113,2 @@ '|',

'italic',
'horizontalLine',
'blockQuote',
'removeFormat',

@@ -118,12 +121,6 @@ 'specialCharacters',

'redo',
'sourceEditing',
'-',
'numberedList',
'bulletedList',
'indent',
'outdent',
'|',
'heading',
'|',
'fontColor'
'sourceEditing'
],

@@ -145,7 +142,12 @@ shouldNotGroupWhenFull: true

'redo',
'|',
'sourceEditing',
'-',
'numberedList',
'bulletedList',
'indent',
'outdent',
'|',
'sourceEditing'
'heading',
'|',
'fontColor'
]

@@ -166,3 +168,3 @@ }

presetConfig = defaultConfig;
if (configType === 'min' || configType === 'ti')
if (configType !== 'full')
return presetConfig;

@@ -172,11 +174,9 @@ const fontColor = {

};
presetConfig.fontColor = fontColor;
if (configType === 'minwithlist')
return presetConfig;
const tableCellProperties = {
backgroundColors: options.templateColors ?? defaultTemplateColors
};
presetConfig.fontColor = fontColor;
presetConfig.table.tableCellProperties = tableCellProperties;
presetConfig.table.tableProperties.tableHeaderColors = options.tableHeaderColors ?? defaultHeaderColors;
presetConfig.table.tableCellProperties = tableCellProperties;
return presetConfig;
}
{
"name": "@dosgato/dialog-ckeditor",
"description": "A form control that provides an instance of CKEditor. Designed to be compatible with @dosgato/dialog.",
"version": "0.0.24",
"version": "0.0.25",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "exports": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc