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

t/ckeditor5/1005: Implemented a module exposing the CKEDIOR_VERSION to the global scope #249

Merged
merged 4 commits into from
Jul 10, 2018

Conversation

oleq
Copy link
Member

@oleq oleq commented Jul 6, 2018

Suggested merge commit message (convention)

Feature: Implemented a module exposing the CKEDIOR_VERSION to the global scope. Closes ckeditor/ckeditor5#1005.


Additional information

Moved from ckeditor5 (ckeditor/ckeditor5#1140 (comment)).

@coveralls
Copy link

coveralls commented Jul 6, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 3bb19be on t/ckeditor5/1005 into 89e9972 on master.

src/version.js Outdated
* This error is thrown when the base {@link module:core/editor/editor~Editor `Editor`}
* class has been loaded twice (or more), a result of either:
*
* * the build containing two (or more) different versions of the {@link module:core/editor/editor~Editor `Editor`}
Copy link
Member

@Reinmar Reinmar Jul 10, 2018

Choose a reason for hiding this comment

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

This sounds like this error occurs when you load ClassicEditor and InlineEditor together. It'd be good to keep it oriented on duplicating packages. It may be easier to understand. Duplicated Editor class is just a result of that.

Copy link
Member

Choose a reason for hiding this comment

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

We could also give recipies how to solve this:

  1. Run rm -rf node_modules && npm i first.
  2. Check whether you're using up to date versions of all CKEditor 5 packages.
  3. npm@5+ is known for installing packages in a non-optimal, non-deduped way. You may try downgrading npm to version 4.

package.json Outdated
@@ -8,6 +8,9 @@
"ckeditor 5",
"ckeditor5-lib"
],
"dependencies": {
"ckeditor5": "^10.1.0"
Copy link
Member

Choose a reason for hiding this comment

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

Something is broken here (indentation).

@Reinmar
Copy link
Member

Reinmar commented Jul 10, 2018

I'll fix mentioned issues.

@Reinmar Reinmar merged commit 3546ac4 into master Jul 10, 2018
@Reinmar Reinmar deleted the t/ckeditor5/1005 branch July 10, 2018 10:44
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants