Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-heading

Package Overview
Dependencies
Maintainers
1
Versions
620
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-heading - npm Package Compare versions

Comparing version 10.0.1 to 10.0.2

8

CHANGELOG.md
Changelog
=========
## [10.0.2](https://github.com/ckeditor/ckeditor5-heading/compare/v10.0.1...v10.0.2) (2018-07-18)
### Other changes
* Refreshed the heading icons (see [ckeditor/ckeditor5-ui#394](https://github.com/ckeditor/ckeditor5-ui/issues/394)). ([fb3f144](https://github.com/ckeditor/ckeditor5-heading/commit/fb3f144))
* Updated translations. ([0867c51](https://github.com/ckeditor/ckeditor5-heading/commit/0867c51))
## [10.0.1](https://github.com/ckeditor/ckeditor5-heading/compare/v10.0.0...v10.0.1) (2018-06-21)

@@ -5,0 +13,0 @@

28

package.json
{
"name": "@ckeditor/ckeditor5-heading",
"version": "10.0.1",
"version": "10.0.2",
"description": "Headings feature for CKEditor 5.",

@@ -12,16 +12,16 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^10.1.0",
"@ckeditor/ckeditor5-ui": "^10.1.0",
"@ckeditor/ckeditor5-utils": "^10.1.0",
"@ckeditor/ckeditor5-engine": "^10.1.0",
"@ckeditor/ckeditor5-paragraph": "^10.0.1",
"@ckeditor/ckeditor5-theme-lark": "^10.1.0"
"@ckeditor/ckeditor5-core": "^11.0.0",
"@ckeditor/ckeditor5-ui": "^11.0.0",
"@ckeditor/ckeditor5-utils": "^10.2.0",
"@ckeditor/ckeditor5-engine": "^10.2.0",
"@ckeditor/ckeditor5-paragraph": "^10.0.2",
"@ckeditor/ckeditor5-theme-lark": "^11.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-cloud-services": "^10.0.1",
"@ckeditor/ckeditor5-editor-classic": "^10.0.1",
"@ckeditor/ckeditor5-enter": "^10.1.0",
"@ckeditor/ckeditor5-image": "^10.1.0",
"@ckeditor/ckeditor5-typing": "^10.0.1",
"@ckeditor/ckeditor5-undo": "^10.0.1",
"@ckeditor/ckeditor5-cloud-services": "^10.0.2",
"@ckeditor/ckeditor5-editor-classic": "^11.0.0",
"@ckeditor/ckeditor5-enter": "^10.1.1",
"@ckeditor/ckeditor5-image": "^10.2.0",
"@ckeditor/ckeditor5-typing": "^11.0.0",
"@ckeditor/ckeditor5-undo": "^10.0.2",
"eslint": "^4.15.0",

@@ -33,3 +33,3 @@ "eslint-config-ckeditor5": "^1.0.7",

"engines": {
"node": ">=6.0.0",
"node": ">=6.9.0",
"npm": ">=3.0.0"

@@ -36,0 +36,0 @@ },

@@ -116,2 +116,3 @@ /**

* the default configuration.
* @extends module:engine/conversion/conversion~ConverterDefinition
*/

@@ -39,3 +39,3 @@ /**

const titles = {};
const dropdownItems = new Collection();
const itemDefinitions = new Collection();

@@ -48,14 +48,18 @@ const headingCommand = editor.commands.get( 'heading' );

for ( const option of options ) {
const itemModel = new Model( {
label: option.title,
class: option.class
} );
const def = {
type: 'button',
model: new Model( {
label: option.title,
class: option.class,
withText: true
} )
};
if ( option.model === 'paragraph' ) {
itemModel.bind( 'isActive' ).to( paragraphCommand, 'value' );
itemModel.set( 'commandName', 'paragraph' );
def.model.bind( 'isOn' ).to( paragraphCommand, 'value' );
def.model.set( 'commandName', 'paragraph' );
commands.push( paragraphCommand );
} else {
itemModel.bind( 'isActive' ).to( headingCommand, 'value', value => value === option.model );
itemModel.set( {
def.model.bind( 'isOn' ).to( headingCommand, 'value', value => value === option.model );
def.model.set( {
commandName: 'heading',

@@ -67,3 +71,3 @@ commandValue: option.model

// Add the option to the collection.
dropdownItems.add( itemModel );
itemDefinitions.add( def );

@@ -74,3 +78,3 @@ titles[ option.model ] = option.title;

const dropdownView = createDropdown( locale );
addListToDropdown( dropdownView, dropdownItems );
addListToDropdown( dropdownView, itemDefinitions );

@@ -77,0 +81,0 @@ dropdownView.buttonView.set( {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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