Selaa lähdekoodia

Merge branch 'master' into t/ckeditor5/890

Piotrek Koszuliński 7 vuotta sitten
vanhempi
commit
1a8b26ec3b

+ 16 - 0
packages/ckeditor5-heading/CHANGELOG.md

@@ -1,6 +1,22 @@
 Changelog
 =========
 
+## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-heading/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)
+
+### Other changes
+
+* Aligned feature class naming to the new scheme. ([511a9d8](https://github.com/ckeditor/ckeditor5-heading/commit/511a9d8))
+* Migrated package styles to PostCSS. Moved visual styles to `@ckeditor/ckeditor5-theme-lark` (see [ckeditor/ckeditor5-ui#144](https://github.com/ckeditor/ckeditor5-ui/issues/144)). ([965179e](https://github.com/ckeditor/ckeditor5-heading/commit/965179e))
+* Updated naming of UI components & commands. ([72ee3d6](https://github.com/ckeditor/ckeditor5-heading/commit/72ee3d6))
+
+### BREAKING CHANGES
+
+* Renamed the `'headings'` dropdown UI component to `'heading'`.
+* The `'heading1'`, `'heading2'` and `'heading3'` commands are no longer available. They were replaced by the `'heading'` command that accepts heading model element name as a value.
+* The `HeadingCommand#value` is no longer a boolean only. Now it stores a name of the heading model element when selection is inside a heading.
+* The `HeadingCommand` constructor's second parameter is now an array of supported model elements.
+
+
 ## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-heading/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017-11-14)
 
 ### Other changes

+ 1 - 1
packages/ckeditor5-heading/README.md

@@ -14,7 +14,7 @@ This package implements the headings feature for CKEditor 5.
 
 ## Documentation
 
-See the [`@ckeditor/ckeditor5-heading` package](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/api/heading.html) page in [CKEditor 5 documentation](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/).
+See the [`@ckeditor/ckeditor5-heading` package](https://docs.ckeditor.com/ckeditor5/latest/api/heading.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/).
 
 ## License
 

+ 1 - 1
packages/ckeditor5-heading/docs/_snippets/features/custom-heading-elements.html

@@ -9,5 +9,5 @@
 	<h1>Heading 1</h1>
 	<h2>Heading 2</h2>
 	<h2 class="fancy">Fancy Heading 2</h2>
-	<p>This is <a href="https://ckeditor5.github.io">CKEditor 5</a>.</p>
+	<p>This is <a href="https://ckeditor.com">CKEditor 5</a>.</p>
 </div>

+ 1 - 1
packages/ckeditor5-heading/docs/_snippets/features/custom-heading-levels.html

@@ -1,5 +1,5 @@
 <div id="snippet-custom-heading-levels">
 	<h1>Heading 1</h1>
 	<h2>Heading 2</h2>
-	<p>This is <a href="https://ckeditor5.github.io">CKEditor 5</a>.</p>
+	<p>This is <a href="https://ckeditor.com">CKEditor 5</a>.</p>
 </div>

+ 2 - 2
packages/ckeditor5-heading/docs/features/headings.md

@@ -29,7 +29,7 @@ For example, the following editor will support only two levels of headings &mdas
 <div id="editor">
 	<h1>Heading 1</h1>
 	<h2>Heading 2</h2>
-	<p>This is <a href="https://ckeditor5.github.io">CKEditor 5</a>.</p>
+	<p>This is <a href="https://ckeditor.com">CKEditor 5</a>.</p>
 </div>
 ```
 
@@ -69,7 +69,7 @@ For example, the following editor will support the following two heading options
 	<h1>Heading 1</h1>
 	<h2>Heading 2</h2>
 	<h2 class="fancy">Fancy Heading 2</h2>
-	<p>This is <a href="https://ckeditor5.github.io">CKEditor 5</a>.</p>
+	<p>This is <a href="https://ckeditor.com">CKEditor 5</a>.</p>
 </div>
 ```
 

+ 14 - 14
packages/ckeditor5-heading/package.json

@@ -1,26 +1,26 @@
 {
   "name": "@ckeditor/ckeditor5-heading",
-  "version": "1.0.0-alpha.2",
+  "version": "1.0.0-beta.1",
   "description": "Headings feature for CKEditor 5.",
   "keywords": [
     "ckeditor5",
     "ckeditor5-feature"
   ],
   "dependencies": {
-    "@ckeditor/ckeditor5-core": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-ui": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-utils": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-engine": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-paragraph": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-theme-lark": "^1.0.0-alpha.2"
+    "@ckeditor/ckeditor5-core": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-ui": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-utils": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-engine": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-theme-lark": "^1.0.0-beta.1"
   },
   "devDependencies": {
-    "@ckeditor/ckeditor5-cloudservices": "^1.0.0-alpha.1",
-    "@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-enter": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-image": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-typing": "^1.0.0-alpha.2",
-    "@ckeditor/ckeditor5-undo": "^1.0.0-alpha.2",
+    "@ckeditor/ckeditor5-cloudservices": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-enter": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-image": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-typing": "^1.0.0-beta.1",
+    "@ckeditor/ckeditor5-undo": "^1.0.0-beta.1",
     "eslint": "^4.15.0",
     "eslint-config-ckeditor5": "^1.0.7",
     "husky": "^0.14.3",
@@ -32,7 +32,7 @@
   },
   "author": "CKSource (http://cksource.com/)",
   "license": "(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)",
-  "homepage": "https://ckeditor5.github.io",
+  "homepage": "https://ckeditor.com",
   "bugs": "https://github.com/ckeditor/ckeditor5-heading/issues",
   "repository": {
     "type": "git",