@ckeditor/ckeditor5-alignment
Advanced tools
Comparing version 1.0.0-beta.1 to 1.0.0-beta.2
Changelog | ||
========= | ||
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-alignment/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10) | ||
Internal changes only (updated dependencies, documentation, etc.). | ||
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-alignment/compare/v0.0.1...v1.0.0-beta.1) (2018-03-15) | ||
@@ -5,0 +10,0 @@ |
{ | ||
"Align left": "Toolbar button tooltip for aligning text to the left.", | ||
"Align right": "Toolbar button tooltip for aligning text to the right.", | ||
"Align center": "Toolbar button tooltip for aligning text to center.", | ||
"Justify": "Toolbar button tooltip for making text justified.", | ||
"Align left": "Toolbar button tooltip for aligning the text to the left.", | ||
"Align right": "Toolbar button tooltip for aligning the text to the right.", | ||
"Align center": "Toolbar button tooltip for aligning the text to center.", | ||
"Justify": "Toolbar button tooltip for making the text justified.", | ||
"Text alignment": "Dropdown button tooltip for the text alignment feature." | ||
} |
{ | ||
"name": "@ckeditor/ckeditor5-alignment", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0-beta.2", | ||
"description": "Text alignment feature for CKEditor 5.", | ||
@@ -10,21 +10,21 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-ui": "^1.0.0-beta.1" | ||
"@ckeditor/ckeditor5-core": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-ui": "^1.0.0-beta.2" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.1", | ||
"@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-heading": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-image": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-list": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-utils": "^1.0.0-beta.1", | ||
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-cloud-services": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-heading": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-image": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-list": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.2", | ||
"@ckeditor/ckeditor5-utils": "^1.0.0-beta.2", | ||
"eslint": "^4.15.0", | ||
"eslint-config-ckeditor5": "^1.0.7", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^6.0.0" | ||
"lint-staged": "^7.0.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "engines": { | ||
"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-alignment/issues", | ||
@@ -40,0 +40,0 @@ "repository": { |
@@ -17,3 +17,3 @@ CKEditor 5 text alignment feature | ||
See the [`@ckeditor/ckeditor5-alignment` package](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/api/alignment.html) page in [CKEditor 5 documentation](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/). | ||
See the [`@ckeditor/ckeditor5-alignment` package](https://docs.ckeditor.com/ckeditor5/latest/api/alignment.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/). | ||
@@ -20,0 +20,0 @@ ## License |
@@ -83,5 +83,5 @@ /** | ||
* | ||
* See a demo of {@glink features/text-alignment#configuring-alignment-options custom alignment options}. | ||
* See the demo of {@glink features/text-alignment#configuring-alignment-options custom alignment options}. | ||
* | ||
* @member {Array.<String>} module:alignment/alignment~AlignmentConfig#options | ||
*/ |
@@ -44,4 +44,4 @@ /** | ||
* Executes the command. Applies the alignment `value` to the selected blocks. | ||
* If no `value` is passed, is a default one or is equal to currently selected block's alignment attribute, | ||
* it will remove the attribute from the selected blocks. | ||
* If no `value` is passed, the `value` is the default one or it is equal to the currently selected block's alignment attribute, | ||
* the command will remove the attribute from the selected blocks. | ||
* | ||
@@ -82,3 +82,3 @@ * @param {Object} [options] Options for the executed command. | ||
* @private | ||
* @param {module:engine/model/element~Element} block A block to be checked. | ||
* @param {module:engine/model/element~Element} block The block to be checked. | ||
* @returns {Boolean} | ||
@@ -91,3 +91,3 @@ */ | ||
// Removes alignment attribute from blocks. | ||
// Removes the alignment attribute from blocks. | ||
// @private | ||
@@ -100,3 +100,3 @@ function removeAlignmentFromSelection( blocks, writer ) { | ||
// Sets alignment attribute on blocks. | ||
// Sets the alignment attribute on blocks. | ||
// @private | ||
@@ -103,0 +103,0 @@ function setAlignmentOnSelection( blocks, writer, alignment ) { |
@@ -17,3 +17,3 @@ /** | ||
* The alignment editing feature. It introduces the {@link module:alignment/alignmentcommand~AlignmentCommand command} and adds | ||
* the `alignment` attribute of block elements in the {@link module:engine/model/model~Model model}. | ||
* the `alignment` attribute for block elements in the {@link module:engine/model/model~Model model}. | ||
* @extends module:core/plugin~Plugin | ||
@@ -20,0 +20,0 @@ */ |
@@ -33,8 +33,8 @@ /** | ||
* | ||
* @param {String} alignment Name of alignment to check. | ||
* @param {String} alignment The name of the alignment to check. | ||
* @returns {Boolean} | ||
*/ | ||
export function isDefault( alignment ) { | ||
// Right now only LTR is supported so 'left' value is always the default one. | ||
// Right now only LTR is supported so the 'left' value is always the default one. | ||
return alignment === 'left'; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31751
28
0