8
0
Просмотр исходного кода

Merge branch 'master' into t/ckeditor5/645

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
4ada73e41d
31 измененных файлов с 82 добавлено и 44 удалено
  1. 1 1
      packages/ckeditor5-ui/.eslintrc.js
  2. 27 7
      packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js
  3. 25 7
      packages/ckeditor5-ui/docs/framework/guides/external-ui.md
  4. 1 1
      packages/ckeditor5-ui/lang/translations/ast.po
  5. 1 1
      packages/ckeditor5-ui/lang/translations/da.po
  6. 1 1
      packages/ckeditor5-ui/lang/translations/de.po
  7. 1 1
      packages/ckeditor5-ui/lang/translations/el.po
  8. 1 1
      packages/ckeditor5-ui/lang/translations/en-au.po
  9. 1 1
      packages/ckeditor5-ui/lang/translations/en.po
  10. 1 1
      packages/ckeditor5-ui/lang/translations/eo.po
  11. 1 1
      packages/ckeditor5-ui/lang/translations/fi.po
  12. 1 1
      packages/ckeditor5-ui/lang/translations/fr.po
  13. 1 1
      packages/ckeditor5-ui/lang/translations/gl.po
  14. 1 1
      packages/ckeditor5-ui/lang/translations/hr.po
  15. 1 1
      packages/ckeditor5-ui/lang/translations/hu.po
  16. 1 1
      packages/ckeditor5-ui/lang/translations/it.po
  17. 1 1
      packages/ckeditor5-ui/lang/translations/ja.po
  18. 1 1
      packages/ckeditor5-ui/lang/translations/km.po
  19. 1 1
      packages/ckeditor5-ui/lang/translations/kn.po
  20. 1 1
      packages/ckeditor5-ui/lang/translations/ku.po
  21. 1 1
      packages/ckeditor5-ui/lang/translations/nb.po
  22. 1 1
      packages/ckeditor5-ui/lang/translations/pt-br.po
  23. 1 1
      packages/ckeditor5-ui/lang/translations/pt.po
  24. 1 1
      packages/ckeditor5-ui/lang/translations/ro.po
  25. 1 1
      packages/ckeditor5-ui/lang/translations/sk.po
  26. 1 1
      packages/ckeditor5-ui/lang/translations/sv.po
  27. 1 1
      packages/ckeditor5-ui/lang/translations/tr.po
  28. 1 1
      packages/ckeditor5-ui/lang/translations/uk.po
  29. 1 1
      packages/ckeditor5-ui/lang/translations/zh-cn.po
  30. 1 1
      packages/ckeditor5-ui/lang/translations/zh.po
  31. 2 2
      packages/ckeditor5-ui/package.json

+ 1 - 1
packages/ckeditor5-ui/.eslintrc.js

@@ -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.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 27 - 7
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

@@ -6,11 +6,21 @@
 /* globals $, window, console:false */
 /* globals $, window, console:false */
 
 
 // Basic classes to create an editor.
 // Basic classes to create an editor.
-import StandardEditor from '@ckeditor/ckeditor5-core/src/editor/standardeditor';
+import Editor from '@ckeditor/ckeditor5-core/src/editor/editor';
 import InlineEditableUIView from '@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';
 import InlineEditableUIView from '@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer';
 import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer';
 
 
+// Interfaces to extend basic Editor API.
+import DataApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';
+import ElementApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin';
+
+// Helper function for adding interfaces to the Editor class.
+import mix from '@ckeditor/ckeditor5-utils/src/mix';
+
+// Helper function that binds editor with HTMLForm element.
+import attachToForm from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform';
+
 // Basic features that every editor should enable.
 // Basic features that every editor should enable.
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import Enter from '@ckeditor/ckeditor5-enter/src/enter';
 import Enter from '@ckeditor/ckeditor5-enter/src/enter';
@@ -24,13 +34,15 @@ import ItalicEngine from '@ckeditor/ckeditor5-basic-styles/src/italicengine';
 import UnderlineEngine from '@ckeditor/ckeditor5-basic-styles/src/underlineengine';
 import UnderlineEngine from '@ckeditor/ckeditor5-basic-styles/src/underlineengine';
 import HeadingEngine from '@ckeditor/ckeditor5-heading/src/headingengine';
 import HeadingEngine from '@ckeditor/ckeditor5-heading/src/headingengine';
 
 
-// Extending the StandardEditor, which brings lots of essential API.
-export default class BootstrapEditor extends StandardEditor {
+// Extending the Editor, which brings base editor API.
+export default class BootstrapEditor extends Editor {
 	constructor( element, config ) {
 	constructor( element, config ) {
-		super( element, config );
+		super( config );
+
+		this.element = element;
 
 
 		// Create the ("main") root element of the model tree.
 		// Create the ("main") root element of the model tree.
-		this.document.createRoot();
+		this.model.document.createRoot();
 
 
 		// Use the HTML data processor in this editor.
 		// Use the HTML data processor in this editor.
 		this.data.processor = new HtmlDataProcessor();
 		this.data.processor = new HtmlDataProcessor();
@@ -40,11 +52,15 @@ export default class BootstrapEditor extends StandardEditor {
 
 
 		// A helper to easily replace the editor#element with editor.editable#element.
 		// A helper to easily replace the editor#element with editor.editable#element.
 		this._elementReplacer = new ElementReplacer();
 		this._elementReplacer = new ElementReplacer();
+
+		// When editor#element is a textarea inside a form element
+		// then content of this textarea will be updated on form submit.
+		attachToForm( this );
 	}
 	}
 
 
 	destroy() {
 	destroy() {
 		// When destroyed, editor sets the output of editor#getData() into editor#element...
 		// When destroyed, editor sets the output of editor#getData() into editor#element...
-		this.updateEditorElement();
+		this.updateElement();
 
 
 		// ...and restores editor#element.
 		// ...and restores editor#element.
 		this._elementReplacer.restore();
 		this._elementReplacer.restore();
@@ -83,7 +99,7 @@ export default class BootstrapEditor extends StandardEditor {
 					} )
 					} )
 					// Bind the editor editing layer to the editable in DOM.
 					// Bind the editor editing layer to the editable in DOM.
 					.then( () => editor.editing.view.attachDomRoot( editable.element ) )
 					.then( () => editor.editing.view.attachDomRoot( editable.element ) )
-					.then( () => editor.loadDataFromEditorElement() )
+					.then( () => editor.loadDataFromElement() )
 					// Fire the events that announce that the editor is complete and ready to use.
 					// Fire the events that announce that the editor is complete and ready to use.
 					.then( () => {
 					.then( () => {
 						editor.fire( 'dataReady' );
 						editor.fire( 'dataReady' );
@@ -95,6 +111,10 @@ export default class BootstrapEditor extends StandardEditor {
 	}
 	}
 }
 }
 
 
+// Mixing interfaces, which extends basic editor API.
+mix( BootstrapEditor, DataApiMixin );
+mix( BootstrapEditor, ElementApiMixin );
+
 // This function activates Bold, Italic, Underline, Undo and Redo buttons in the toolbar.
 // This function activates Bold, Italic, Underline, Undo and Redo buttons in the toolbar.
 function setupButtons( editor ) {
 function setupButtons( editor ) {
 	[ 'bold', 'italic', 'underline', 'undo', 'redo' ].forEach( commandName => {
 	[ 'bold', 'italic', 'underline', 'undo', 'redo' ].forEach( commandName => {

+ 25 - 7
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

@@ -18,11 +18,21 @@ The ready–to–use builds of CKEditor like {@link examples/builds/classic-edit
 
 
 ```js
 ```js
 // Basic classes to create an editor.
 // Basic classes to create an editor.
-import StandardEditor from '@ckeditor/ckeditor5-core/src/editor/standardeditor';
+import Editor from '@ckeditor/ckeditor5-core/src/editor/editor';
 import InlineEditableUIView from '@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';
 import InlineEditableUIView from '@ckeditor/ckeditor5-ui/src/editableui/inline/inlineeditableuiview';
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor';
 import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer';
 import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer';
 
 
+// Interfaces to extend basic Editor API.
+import DataApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';
+import ElementApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin';
+
+// Helper function for adding interfaces to the Editor class.
+import mix from '@ckeditor/ckeditor5-utils/src/mix';
+
+// Helper function that binds editor with HTMLForm element.
+import attachToForm from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform';
+
 // Basic features that every editor should enable.
 // Basic features that every editor should enable.
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import Clipboard from '@ckeditor/ckeditor5-clipboard/src/clipboard';
 import Enter from '@ckeditor/ckeditor5-enter/src/enter';
 import Enter from '@ckeditor/ckeditor5-enter/src/enter';
@@ -45,16 +55,16 @@ import HeadingEngine from '@ckeditor/ckeditor5-heading/src/headingengine';
 	This split between the engine and the UI part of features is not perfect yet. At the current stage, the UI part introduces some vital functionality, such as keystroke definitions (e.g. <kbd>Ctrl</kbd>+<kbd>B</kbd> to "bold"). This means that by dropping the UI part of features you also lose keystrokes. We [plan to improve](https://github.com/ckeditor/ckeditor5/issues/488) this situation.
 	This split between the engine and the UI part of features is not perfect yet. At the current stage, the UI part introduces some vital functionality, such as keystroke definitions (e.g. <kbd>Ctrl</kbd>+<kbd>B</kbd> to "bold"). This means that by dropping the UI part of features you also lose keystrokes. We [plan to improve](https://github.com/ckeditor/ckeditor5/issues/488) this situation.
 </info-box>
 </info-box>
 
 
-Having imported the very basic editor components, you can define the custom `BootstrapEditor` class that extends the {@link module:core/editor/standardeditor~StandardEditor `StandardEditor`}:
+Having imported the very basic editor components, you can define the custom `BootstrapEditor` class that extends the {@link module:core/editor/editor~Editor `Editor`}:
 
 
 ```js
 ```js
-// Extending the StandardEditor that brings lots of essential API.
-export default class BootstrapEditor extends StandardEditor {
+// Extending the Editor, which brings base editor API.
+export default class BootstrapEditor extends Editor {
 	constructor( element, config ) {
 	constructor( element, config ) {
 		super( element, config );
 		super( element, config );
 
 
 		// Create the ("main") root element of the model tree.
 		// Create the ("main") root element of the model tree.
-		this.document.createRoot();
+		this.model.document.createRoot();
 
 
 		// Use the HTML data processor in this editor.
 		// Use the HTML data processor in this editor.
 		this.data.processor = new HtmlDataProcessor();
 		this.data.processor = new HtmlDataProcessor();
@@ -64,11 +74,15 @@ export default class BootstrapEditor extends StandardEditor {
 
 
 		// A helper to easily replace the editor#element with editor.editable#element.
 		// A helper to easily replace the editor#element with editor.editable#element.
 		this._elementReplacer = new ElementReplacer();
 		this._elementReplacer = new ElementReplacer();
+
+		// When editor#element is a textarea inside a form element
+		// then content of this textarea will be updated on form submit.
+		attachToForm( this );
 	}
 	}
 
 
 	destroy() {
 	destroy() {
 		// When destroyed, editor sets the output of editor#getData() into editor#element...
 		// When destroyed, editor sets the output of editor#getData() into editor#element...
-		this.updateEditorElement();
+		this.updateElement();
 
 
 		// ...and restores editor#element.
 		// ...and restores editor#element.
 		this._elementReplacer.restore();
 		this._elementReplacer.restore();
@@ -107,7 +121,7 @@ export default class BootstrapEditor extends StandardEditor {
 					} )
 					} )
 					// Bind the editor editing layer to the editable in DOM.
 					// Bind the editor editing layer to the editable in DOM.
 					.then( () => editor.editing.view.attachDomRoot( editable.element ) )
 					.then( () => editor.editing.view.attachDomRoot( editable.element ) )
-					.then( () => editor.loadDataFromEditorElement() )
+					.then( () => editor.loadDataFromElement() )
 					// Fire the events that announce that the editor is complete and ready to use.
 					// Fire the events that announce that the editor is complete and ready to use.
 					.then( () => {
 					.then( () => {
 						editor.fire( 'dataReady' );
 						editor.fire( 'dataReady' );
@@ -118,6 +132,10 @@ export default class BootstrapEditor extends StandardEditor {
 		} );
 		} );
 	}
 	}
 }
 }
+
+// Mixing interfaces, which extends basic editor API.
+mix( BootstrapEditor, DataApiMixin );
+mix( BootstrapEditor, ElementApiMixin );
 ```
 ```
 
 
 ## Creating the Bootstrap UI
 ## Creating the Bootstrap UI

+ 1 - 1
packages/ckeditor5-ui/lang/translations/ast.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: ast\n"
 "Language: ast\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/da.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: da\n"
 "Language: da\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/de.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: de\n"
 "Language: de\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/el.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: el\n"
 "Language: el\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/en-au.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: en_AU\n"
 "Language: en_AU\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/en.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: \n"
 "Language: \n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/eo.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: eo\n"
 "Language: eo\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/fi.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: fi\n"
 "Language: fi\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/fr.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: fr\n"
 "Language: fr\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/gl.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: gl\n"
 "Language: gl\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/hr.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: hr\n"
 "Language: hr\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/hu.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: hu\n"
 "Language: hu\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/it.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: it\n"
 "Language: it\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/ja.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: ja\n"
 "Language: ja\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/km.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: km\n"
 "Language: km\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/kn.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: kn\n"
 "Language: kn\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/ku.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: ku\n"
 "Language: ku\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/nb.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: nb\n"
 "Language: nb\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/pt-br.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: pt_BR\n"
 "Language: pt_BR\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/pt.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: pt\n"
 "Language: pt\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/ro.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: ro\n"
 "Language: ro\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/sk.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: sk\n"
 "Language: sk\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/sv.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: sv\n"
 "Language: sv\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/tr.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: tr\n"
 "Language: tr\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/uk.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: uk\n"
 "Language: uk\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/zh-cn.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: zh_CN\n"
 "Language: zh_CN\n"

+ 1 - 1
packages/ckeditor5-ui/lang/translations/zh.po

@@ -1,4 +1,4 @@
-# Copyright (c) Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: zh_TW\n"
 "Language: zh_TW\n"

+ 2 - 2
packages/ckeditor5-ui/package.json

@@ -23,10 +23,10 @@
     "@ckeditor/ckeditor5-typing": "^1.0.0-alpha.2",
     "@ckeditor/ckeditor5-typing": "^1.0.0-alpha.2",
     "@ckeditor/ckeditor5-undo": "^1.0.0-alpha.2",
     "@ckeditor/ckeditor5-undo": "^1.0.0-alpha.2",
     "del": "^2.2.0",
     "del": "^2.2.0",
-    "eslint": "^4.8.0",
+    "eslint": "^4.15.0",
     "eslint-config-ckeditor5": "^1.0.7",
     "eslint-config-ckeditor5": "^1.0.7",
     "husky": "^0.14.3",
     "husky": "^0.14.3",
-    "lint-staged": "^4.2.3",
+    "lint-staged": "^6.0.0",
     "lodash-cli": "^4"
     "lodash-cli": "^4"
   },
   },
   "engines": {
   "engines": {