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

Remove the CKEditor 5 logger and its usage #295

Merged
merged 5 commits into from
Jul 19, 2019
Merged

Remove the CKEditor 5 logger and its usage #295

merged 5 commits into from
Jul 19, 2019

Conversation

ma2ciek
Copy link
Contributor

@ma2ciek ma2ciek commented Jul 10, 2019

Suggested merge commit message (convention)

Other: Removed the CKEditor 5 logger and its usage. Part of ckeditor/ckeditor5#383.


Additional information

Requires other connected PRs to be merged first.

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

src/dom/rect.js Outdated
'rect-source-not-in-dom: The source of this rect does not belong to any rendered DOM tree.',
{ source }
);
), { source } );
Copy link

Choose a reason for hiding this comment

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

This should be displayed only in the debug mode, this error tells nothing to end users.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe the error code/message could be better? Because I think that the warning should be displayed at least.

src/version.js Outdated
@@ -138,7 +138,9 @@ if ( windowOrGlobal.CKEDITOR_VERSION ) {
*
* @error ckeditor-duplicated-modules
*/
log.error( 'ckeditor-duplicated-modules: Some CKEditor 5 modules are duplicated.' );
console.error( attachLinkToDocumentation(
Copy link

Choose a reason for hiding this comment

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

This should be CKEditorError expectation.

@pjasiun pjasiun merged commit 584ef1d into master Jul 19, 2019
@pjasiun pjasiun deleted the t/ckeditor5/383 branch July 19, 2019 12:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants