@ckeditor/ckeditor5-widget 0.0.0-nightly-20250304.0 → 0.0.0-nightly-20250305.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-widget",
3
- "version": "0.0.0-nightly-20250304.0",
3
+ "version": "0.0.0-nightly-20250305.0",
4
4
  "description": "Widget API for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,12 +12,12 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250304.0",
16
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250304.0",
17
- "@ckeditor/ckeditor5-enter": "0.0.0-nightly-20250304.0",
18
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250304.0",
19
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250304.0",
20
- "@ckeditor/ckeditor5-typing": "0.0.0-nightly-20250304.0",
15
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250305.0",
16
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250305.0",
17
+ "@ckeditor/ckeditor5-enter": "0.0.0-nightly-20250305.0",
18
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250305.0",
19
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250305.0",
20
+ "@ckeditor/ckeditor5-typing": "0.0.0-nightly-20250305.0",
21
21
  "lodash-es": "4.17.21"
22
22
  },
23
23
  "author": "CKSource (http://cksource.com/)",
@@ -13,6 +13,7 @@ import { Delete } from '@ckeditor/ckeditor5-typing';
13
13
  import { env, isForwardArrowKeyCode } from '@ckeditor/ckeditor5-utils';
14
14
  import { isTypeAroundWidget, getClosestTypeAroundDomButton, getTypeAroundButtonPosition, getClosestWidgetViewElement, getTypeAroundFakeCaretPosition, TYPE_AROUND_SELECTION_ATTRIBUTE } from './utils.js';
15
15
  import { isWidget } from '../utils.js';
16
+ // @if CK_DEBUG_TYPING // const { _buildLogMessage } = require( '@ckeditor/ckeditor5-engine/src/dev-utils/utils.js' );
16
17
  import returnIcon from '../../theme/icons/return-arrow.svg';
17
18
  import '../../theme/widgettypearound.css';
18
19
  const POSSIBLE_INSERTION_POSITIONS = ['before', 'after'];
@@ -158,9 +159,9 @@ export default class WidgetTypeAround extends Plugin {
158
159
  return false;
159
160
  }
160
161
  // @if CK_DEBUG_TYPING // if ( ( window as any ).logCKETyping ) {
161
- // @if CK_DEBUG_TYPING // console.info( '%c[WidgetTypeAround]%c Fake caret -> insert paragraph',
162
- // @if CK_DEBUG_TYPING // 'font-weight: bold; color: green', ''
163
- // @if CK_DEBUG_TYPING // );
162
+ // @if CK_DEBUG_TYPING // console.info( ..._buildLogMessage( this, 'WidgetTypeAround',
163
+ // @if CK_DEBUG_TYPING // 'Fake caret -> insert paragraph',
164
+ // @if CK_DEBUG_TYPING // ) );
164
165
  // @if CK_DEBUG_TYPING // }
165
166
  const selectedModelElement = modelSelection.getSelectedElement();
166
167
  this._insertParagraph(selectedModelElement, typeAroundFakeCaretPosition);