Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-alignment

Package Overview
Dependencies
Maintainers
1
Versions
612
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-alignment - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

lang/translations/ar.po

5

CHANGELOG.md
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 @@

8

lang/contexts.json
{
"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';
}
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