Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

T/3: Highlight UI Implementation #6

Merged
merged 81 commits into from
Feb 19, 2018
Merged
Show file tree
Hide file tree
Changes from 73 commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
d951359
Other: Initial split button dropdown for HighlightUI.
jodator Nov 22, 2017
f746067
Other: Make highlight dropdown hide after using rubber.
jodator Nov 22, 2017
1c5b80e
Other: Make createSplitButtonDropdown minimal.
jodator Nov 22, 2017
ca89fc6
Other: Extract Highlight UI components factories to methods.
jodator Nov 23, 2017
5806fda
Tests: Extend highlight manual tests with image.
jodator Nov 23, 2017
519d0aa
Other: Refactor HighlightCommand and Highlight UI creation.
jodator Nov 23, 2017
a56fee8
Other: Change how split button is bound to model.
jodator Nov 23, 2017
157b1e6
Other: Move some SplitButtonDropdown functionality to SplitButtonDrop…
jodator Nov 24, 2017
4a7cb30
Other: Refactor Highlight UI methods and add more documentation.
jodator Nov 27, 2017
3523d5f
Added pen and marker icons with dynamic fill color.
oleq Dec 21, 2017
7d54644
Other: Update code to changes in schema API.
jodator Jan 12, 2018
cb38328
Other: Remove RemoveHighlightCommand.
jodator Jan 12, 2018
6903aee
Other: Use `definition-based-converters` for defining highlighters.
jodator Jan 15, 2018
5a4f9fd
Other: Update button creation.
jodator Jan 15, 2018
8edc6f5
Tests: Fix HighlightEditing config tests.
jodator Jan 15, 2018
2bbf7f7
Other: Fix highlight dropdown UI.
jodator Jan 15, 2018
8eefab8
Code style: Make default options indented the same way.
jodator Jan 16, 2018
6130804
Added eraser icon.
oleq Jan 16, 2018
950eea8
Added: Changing the style on collapsed selection changes the entire h…
jodator Jan 16, 2018
b924e4f
Changed: Use `Position.getLastMatchingPosition()` instead of findAttr…
jodator Jan 16, 2018
0d36487
Other: Fix find highlighter range from collapsed selection method.
jodator Jan 17, 2018
78a0391
Added: remove entire highlight on collapsed range when inside highlig…
jodator Jan 17, 2018
18595eb
Added: Remove whole highlight when using eraser on collapsed range in…
jodator Jan 17, 2018
1cff774
Changed: Use hardcoded view element and add `options` namespace to co…
jodator Jan 17, 2018
5662d93
Changed: Make highlight toolbar look decent.
jodator Jan 17, 2018
c80ea78
Added: Add separator before eraser in highlight dropdown.
jodator Jan 17, 2018
b9c28b6
Changed: Make toolbar split button react to highlight in selection.
jodator Jan 17, 2018
5d9f012
Changed: Extract getIconForType() internal method in HighlightUI.
jodator Jan 17, 2018
5cbc000
Tests: Update manual tests.
jodator Jan 18, 2018
03ecb54
Tests: Add initial HighlightUI tests.
jodator Jan 18, 2018
dfda27f
Tests: Add toolbar button behavior tests.
jodator Jan 18, 2018
74fd242
Other: Add missing dev dependency.
jodator Jan 18, 2018
2e35c21
Other: Update package.json dependencies.
jodator Jan 18, 2018
59368b0
Other: Updated code to changes in dropdowns API.
jodator Jan 19, 2018
c65e9a0
Changed: Rename parts of SplitButton buttons to action/select.
jodator Jan 19, 2018
1e46b0b
Updated marker, pen, and eraser icons for the updated theme (see cked…
oleq Jan 22, 2018
cc659f1
Changed: update dropdowns to match the new API.
jodator Jan 22, 2018
177f5d6
Changed: Remove redundant class from highlight button.
jodator Jan 23, 2018
700e6a4
Changed: Removed `addDefaultBehavior()` from dropdown utils.
jodator Jan 23, 2018
e6a60ca
Changed: Removed `createSplitButtonDropdown()` from dropdown utils.
jodator Jan 23, 2018
1e68317
Changed: update dropdowns to match the new API.
jodator Jan 24, 2018
a4b3cd4
Other: Revert icon hack from ButtonView.
jodator Jan 24, 2018
a35f73c
Added: Enable highlighter on collapsed selection.
jodator Jan 24, 2018
e81e099
Added: Execute highight command on split button action button.
jodator Jan 24, 2018
82010b1
Added: Bind model `isOn` to highlight command value.
jodator Jan 24, 2018
43ea0d0
Docs: move `HighlightOption` from `HighlightEditing` to `Highlight`.
jodator Jan 25, 2018
f3eb7dc
Tests: Update localization tests.
jodator Jan 25, 2018
a01c358
Other: Update copyright year.
jodator Jan 25, 2018
781cf1d
Tests: Update `HighlightCommand` tests.
jodator Jan 25, 2018
2add9c0
Tests: Update compatibility tests.
jodator Jan 25, 2018
e717306
Docs: Add highlight api page.
jodator Jan 26, 2018
bc1de94
Docs: Add highlight feature guide.
jodator Jan 27, 2018
691390d
Changed: Change how dropdowns with `ButtonView` and `SplitButtonView`…
jodator Jan 28, 2018
9485363
Changed: Remove dafult dropdown behavior helper methods from API.
jodator Jan 28, 2018
f4f1ddc
Added: Introduce `bindOneToMany()` binding helper.
jodator Jan 28, 2018
053decb
Changed: Move `addToolbarToDropdown()` helper to ui/dropdown/utils.
jodator Jan 29, 2018
fdb76bc
Changed: Bind dropdown behavior to `DropdownView` instead of `Model`.
jodator Jan 29, 2018
5c73bc1
Aligned code to the changes in DocumentSelection API.
jodator Jan 29, 2018
346d509
Tests: Add manual test for highlight buttons in toolbar.
jodator Jan 29, 2018
d1e0d04
Changed: Make CSS style to button rather then dropdown.
jodator Jan 29, 2018
abfbce3
Changed: Use `bind().toMany()` binding chain from `ObservableMixin`.
jodator Feb 1, 2018
e554055
Changed: Make ButtonClass as a parameter of `createDropdown()`.
jodator Feb 5, 2018
64eae36
Removed unnecessary code.
jodator Feb 5, 2018
219a7bc
Changed: Remove `dropdown.buttonView` bindings to `dropdown`.
jodator Feb 5, 2018
127a893
Changed: Update dropdown API usage.
jodator Feb 9, 2018
86048d1
Fix: Update imports to ckeditor5 plugins.
jodator Feb 9, 2018
72bd844
Fix: Add missing dependencies to package.json.
jodator Feb 9, 2018
9540a90
Updated the highlight feature's conversion to the newest API.
jodator Feb 15, 2018
f703284
Tests: Update toolbar in manual tests.
jodator Feb 15, 2018
2291aac
Docs: Improve highlight documentation.
jodator Feb 15, 2018
7cbd54d
Merge branch 'master' into t/3
jodator Feb 15, 2018
aceca44
Docs: Added separators to the toolbar configurations.
oleq Feb 16, 2018
65808a7
Docs: Improved the highlight documentation in the Features section.
oleq Feb 16, 2018
b79eb20
Fix: Changing highlight should not change collapsed selection.
jodator Feb 19, 2018
4ddeaac
Docs: Improved the highlight package docs.
oleq Feb 19, 2018
8af9a6b
Adjusted and extended the default highlight color palette for better …
oleq Feb 19, 2018
870c78c
Tests: Adjusted tests to the new color palette.
oleq Feb 19, 2018
10227bd
Simplified the pen icon.
oleq Feb 19, 2018
3e2d2cd
Changed: Aligning with new conversion helpers API.
jodator Feb 19, 2018
0112fd1
Changed: Renamed 'marker' option to 'yellowMarker'.
jodator Feb 19, 2018
0705945
Fix: Missing `marker-yellow` CSS class definition in tests and docs.
jodator Feb 19, 2018
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Software License Agreement
==========================

**CKEditor 5 Highlight Feature** – https://github.com/ckeditor/ckeditor5-highlight <br>
Copyright (c) 2003-2017, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
Copyright (c) 2003-2018, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.

Licensed under the terms of any of the following licenses at your choice:

Expand Down
23 changes: 23 additions & 0 deletions docs/_snippets/features/build-highlight-source.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<style>
.marker {
background-color: #ffff66;
}

.marker-green {
background-color: #66ff00;
}

.marker-pink {
background-color: #ff6fff;
}

.pen-red {
background-color: transparent;
color: #ff2929;
}

.pen-blue {
background-color: transparent;
color: #0091ff;
}
</style>
14 changes: 14 additions & 0 deletions docs/_snippets/features/build-highlight-source.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

/* globals window */

import ClassicEditor from '@ckeditor/ckeditor5-build-classic/src/ckeditor';

import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight';

ClassicEditor.build.plugins.push( Highlight );

window.ClassicEditor = ClassicEditor;
5 changes: 5 additions & 0 deletions docs/_snippets/features/custom-highlight-options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div id="snippet-custom-highlight-options">
<p>
Here are defined highlighters: <mark class="marker-green">green one</mark> and <mark class="pen-blue">blue one</mark>.
</p>
</div>
27 changes: 27 additions & 0 deletions docs/_snippets/features/custom-highlight-options.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

/* globals ClassicEditor, console, window, document */
ClassicEditor
.create( document.querySelector( '#snippet-custom-highlight-options' ), {
toolbar: {
items: [
'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'
],
viewportTopOffset: 60
},
highlight: {
options: [
{ model: 'greenMarker', class: 'marker-green', title: 'Green marker', color: '#66ff00', type: 'marker' },
{ model: 'bluePen', class: 'pen-blue', title: 'Blue pen', color: '#0091ff', type: 'pen' }
]
}
} )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
12 changes: 12 additions & 0 deletions docs/_snippets/features/highlight-buttons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div id="snippet-highlight-buttons">
<h2>Highlight feature sample.</h2>

<p>
Here are some markers:
<mark class="marker">yellow one</mark>, <mark class="marker-pink">pink one</mark> and <mark class="marker-green">green one</mark>.
</p>
<p>
Here are some pens:
<mark class="pen-red">red pen</mark> and <mark class="pen-blue">blue one</mark>.
</p>
</div>
23 changes: 23 additions & 0 deletions docs/_snippets/features/highlight-buttons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

/* globals ClassicEditor, console, window, document */

ClassicEditor
.create( document.querySelector( '#snippet-highlight-buttons' ), {
toolbar: {
items: [
'headings', '|', 'highlight:marker', 'highlight:greenMarker', 'highlight:pinkMarker', 'highlight:bluePen',
'highlight:redPen', 'removeHighlight', '|', 'undo', 'redo'
],
viewportTopOffset: 60
}
} )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
12 changes: 12 additions & 0 deletions docs/_snippets/features/highlight.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div id="snippet-highlight">
<h2>Highlight feature sample.</h2>

<p>
Here are some markers:
<mark class="marker">yellow one</mark>, <mark class="marker-pink">pink one</mark> and <mark class="marker-green">green one</mark>.
</p>
<p>
Here are some pens:
<mark class="pen-red">red pen</mark> and <mark class="pen-blue">blue one</mark>.
</p>
</div>
22 changes: 22 additions & 0 deletions docs/_snippets/features/highlight.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

/* globals ClassicEditor, console, window, document */

ClassicEditor
.create( document.querySelector( '#snippet-highlight' ), {
toolbar: {
items: [
'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'
],
viewportTopOffset: 60
}
} )
.then( editor => {
window.editor = editor;
} )
.catch( err => {
console.error( err.stack );
} );
30 changes: 30 additions & 0 deletions docs/api/highlight.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
category: api-reference
---

# CKEditor 5 highlight feature

[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-highlight.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-highlight)

This package implements the highlight feature for CKEditor 5.

## Documentation

See the {@link features/highlight Highlight feature} guide and the {@link module:highlight/highlight~Highlight} plugin documentation.

## Installation

```bash
npm install --save @ckeditor/ckeditor5-highlight
```

## Contribute

The source code of this package is available on GitHub in https://github.com/ckeditor/ckeditor5-highlight.

## External links

* [`@ckeditor/ckeditor5-highlight` on npm](https://www.npmjs.com/package/@ckeditor/ckeditor5-highlight)
* [`ckeditor/ckeditor5-highlight` on GitHub](https://github.com/ckeditor/ckeditor5-highlight)
* [Issue tracker](https://github.com/ckeditor/ckeditor5-highlight/issues)
* [Changelog](https://github.com/ckeditor/ckeditor5-highlight/blob/master/CHANGELOG.md)
138 changes: 138 additions & 0 deletions docs/features/highlight.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
---
title: Highlight
category: features
---

{@snippet features/build-highlight-source}

The {@link module:highlight/highlight~Highlight} feature offers a text marking tools that help content authors speed up their work, e.g. reviewing content or marking it for the future reference. It uses inline `<marker>` elements in the view, supports both markers (background color) and pens (text color), and comes with a flexible configuration.

## Demo

{@snippet features/highlight}

## Configuring the highlight options

It is possible to configure which highlight options are supported by the editor.
You can use the {@link module:highlight/highlight~HighlightConfig#options `highlight.options`} configuration and define your own highlight styles.

For example, the following editor supports only two styles (a green marker and a blue pen):

```js
ClassicEditor
.create( document.querySelector( '#editor' ), {
highlight: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the highlight feature dropdown uses a basic ToolbarView, I wonder if we could simply make the highlight configuration compatible with the toolbar config. I mean here a support for toolbar separators (|), that developers may want to use to group the buttons if only to separate pens from markers. WDYT?

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very interesting idea. How would the config need to look then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed-up with the options:

ClassicEditor
	.create( document.querySelector( '#snippet-custom-highlight-options' ), {
		toolbar: {
			items: [
				'headings', '|', 'highlightDropdown', 'bulletedList', 'numberedList', 'undo', 'redo'
			],
			viewportTopOffset: 60
		},
		highlight: {
			options: [
				{ model: 'greenMarker', class: 'marker-green', ... },
				{ model: 'bluePen', class: 'pen-blue', ... },
				'|',
				{ model: 'fooPen', class: 'pen-foo', ... }
				'|',
				'removeHighlight'
			]
		}
	} )
	.then( editor => {
		window.editor = editor;
	} )
	.catch( err => {
		console.error( err.stack );
	} );

Or as a separate property, which makes more sense to me because it doesn't mix up the content logic and the UI.

In such situation, the order in options doesn't matter. We also provide a default toolbar layout, when no specified (and the default is toolbar: [ all options, '|', 'removeHighlight' ])

ClassicEditor
	.create( document.querySelector( '#snippet-custom-highlight-options' ), {
		toolbar: {
			items: [
				'headings', '|', 'highlightDropdown', 'bulletedList', 'numberedList', 'undo', 'redo'
			],
			viewportTopOffset: 60
		},
		highlight: {
			options: [
				{ model: 'greenMarker', class: 'marker-green', ... },
				{ model: 'bluePen', class: 'pen-blue', ... },
				{ model: 'fooPen', class: 'pen-foo', ... }
			],
			toolbar: [ 
				'highlight:greenMarker', 
				'highlight:bluePen', 
				'|', 
				'highlight:fooPen', 
				'|', 
				'removeHighlight' 
			]
		}
	} )
	.then( editor => {
		window.editor = editor;
	} )
	.catch( err => {
		console.error( err.stack );
	} );

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oleq AFAIR that was an idea to have UI configurable using button instances (toolbarDropdown) and it should have issue for that. It is also doable the same way for alignment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oleq & @Reinmar : https://github.com/ckeditor/ckeditor5-ui/issues/322 & https://github.com/ckeditor/ckeditor5-heading/issues/74#issuecomment-305224952.

The way how alignment & highlight features works (buttons + dropdown) was inspired by that issue & comment - so thus enables it pretty straightforward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ps> I'd for doing this as a follow up just to see this feature live ;)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ps> I'd for doing this as a follow up just to see this feature live ;)

👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But I don't think that https://github.com/ckeditor/ckeditor5-ui/issues/322 has anything to do with this. Here, in this specific feature, there's more than just wrapping buttons into a dropdown, am I right? The state of the button, the color of the pen, etc, has some custom bindings.

options: [
{
model: 'greenMarker',
class: 'marker-green',
title: 'Green marker',
color: '#66ff00',
type: 'marker'
},
{
model: 'bluePen',
class: 'pen-blue',
title: 'Blue pen',
color: '#0091ff',
type: 'pen'
}
]
},
toolbar: [
'headings', '|', 'bulletedList', 'numberedList', 'highlightDropdown', 'undo', 'redo'
]
} )
.then( ... )
.catch( ... );
```

{@snippet features/custom-highlight-options}

Instead of using the (default) `highlightDropdown`, the feature also supports a configuration with separate buttons directly in the toolbar:

```js
ClassicEditor
.create( document.querySelector( '#editor' ), {
toolbar: {
items: [
'headings', '|', 'highlight:marker', 'highlight:greenMarker',
'highlight:pinkMarker', 'highlight:bluePen',
'highlight:redPen', 'removeHighlight', 'undo', 'redo'
]
}
} )
.then( ... )
.catch( ... );
```

{@snippet features/highlight-buttons}

## Installation

To add this feature to your editor install the [`@ckeditor/ckeditor5-highlight`](https://www.npmjs.com/package/@ckeditor/ckeditor5-highlight) package:

```
npm install --save @ckeditor/ckeditor5-highlight
```

And add it to your plugin list and the toolbar configuration:

```js
import Highlight from '@ckeditor/ckeditor5-highlight/src/highlight';

ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ Highlight, ... ],
toolbar: [ 'highlightDropdown', ... ]
} )
.then( ... )
.catch( ... );
```

<info-box info>
Read more about {@link builds/guides/development/installing-plugins installing plugins}.
</info-box>

## Common API

The {@link module:highlight/highlight~Highlight} plugin registers:

* The `'highlightDropdown'` dropdown,
* The {@link module:highlight/highlightcommand~HighlightCommand `'highlight'`} command.

The number of options and their names correspond to the {@link module:highlight/highlight~HighlightConfig#options `highlight.options`} configuration option.

You can change the highlight of the current selection by executing the command with a desired value:

```js
editor.execute( 'highlight', { value: 'marker' } );
```

The `value` corresponds to the `model` property in configuration object. For the default configuration:
```js
highlight.options = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to work on the colors because AFAIR the has been chosen without any deeper research.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I handled it in 870c78c.

{ model: 'marker', class: 'marker', title: 'Marker', color: '#ffff66', type: 'marker' },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this marker named using a different convention than the others?

{ model: 'greenMarker', class: 'marker-green', title: 'Green marker', color: '#66ff00', type: 'marker' },
{ model: 'pinkMarker', class: 'marker-pink', title: 'Pink marker', color: '#ff6fff', type: 'marker' },
{ model: 'redPen', class: 'pen-red', title: 'Red pen', color: '#ff2929', type: 'pen' },
{ model: 'bluePen', class: 'pen-blue', title: 'Blue pen', color: '#0091ff', type: 'pen' }
]
```

the `highlight` command will accept the corresponding strings as values:
- `'marker'` – available as a `'highlight:marker'` button.
- `'greenMarker'` – available as a `'highlight:greenMarker'` button.
- `'pinkMarker'` – available as a `'highlight:pinkMarker'` button.
- `'redPen'` – available as a `'highlight:redPen'` button.
- `'bluePen'` – available as a `'highlight:bluePen'` button.

passing an empty `value` will remove any `highlight` from the selection:

```js
editor.execute( 'highlight' );
```

## Contribute

The source code of the feature is available on GitHub in https://github.com/ckeditor/ckeditor5-highlight.
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@
"ckeditor5-feature"
],
"dependencies": {
"@ckeditor/ckeditor5-core": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-engine": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-ui": "^1.0.0-alpha.1"
"@ckeditor/ckeditor5-core": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-engine": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-ui": "^1.0.0-alpha.2"
},
"devDependencies": {
"@ckeditor/ckeditor5-block-quote": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-enter": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-heading": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-image": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-list": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-paragraph": "^1.0.0-alpha.1",
"@ckeditor/ckeditor5-typing": "^1.0.0-alpha.1",
"eslint": "^4.8.0",
"eslint-config-ckeditor5": "^1.0.6",
"@ckeditor/ckeditor5-block-quote": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-enter": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-heading": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-image": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-list": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-paragraph": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-typing": "^1.0.0-alpha.2",
"@ckeditor/ckeditor5-utils": "^1.0.0-alpha.2",
"eslint": "^4.15.0",
"eslint-config-ckeditor5": "^1.0.7",
"husky": "^0.14.3",
"lint-staged": "^4.2.3"
"lint-staged": "^6.0.0"
},
"engines": {
"node": ">=6.0.0",
Expand Down
Loading