@ckeditor/ckeditor5-html-embed 38.2.0-alpha.1 → 39.0.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.
package/README.md CHANGED
@@ -4,7 +4,6 @@ CKEditor 5 HTML embed feature
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-html-embed.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-html-embed)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
6
  [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
- ![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-html-embed)
8
7
 
9
8
  This package implements the HTML embed feature for CKEditor 5. It allows embedding an arbitrary HTML snippet in the rich-text editor.
10
9
 
@@ -1 +1 @@
1
- !function(t){const i=t.fi=t.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"Edit source":"Muokkaa lähdettä","Empty snippet content":"Tyhjä pätkäsisältö","HTML snippet":"HMTL-pätkä","Insert HTML":"Liitä HTML","No preview available":"Esikatseluversiota ei ole saatavilla","Paste raw HTML here...":"Liitä raaka-HTML tähän...","Save changes":"Tallenna muutokset"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
1
+ !function(t){const i=t.fi=t.fi||{};i.dictionary=Object.assign(i.dictionary||{},{"Edit source":"Muokkaa lähdettä","Empty snippet content":"Tyhjä pätkäsisältö","HTML snippet":"HTML-pätkä","Insert HTML":"Liitä HTML","No preview available":"Esikatseluversiota ei ole saatavilla","Paste raw HTML here...":"Liitä raaka-HTML tähän...","Save changes":"Tallenna muutokset"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -22,7 +22,7 @@ msgstr "Liitä HTML"
22
22
 
23
23
  msgctxt "The HTML snippet."
24
24
  msgid "HTML snippet"
25
- msgstr "HMTL-pätkä"
25
+ msgstr "HTML-pätkä"
26
26
 
27
27
  msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
28
28
  msgid "Paste raw HTML here..."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-html-embed",
3
- "version": "38.2.0-alpha.1",
3
+ "version": "39.0.0",
4
4
  "description": "HTML embed feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,9 +11,8 @@
11
11
  "ckeditor5-dll"
12
12
  ],
13
13
  "main": "src/index.js",
14
- "type": "module",
15
14
  "dependencies": {
16
- "ckeditor5": "38.2.0-alpha.1"
15
+ "ckeditor5": "39.0.0"
17
16
  },
18
17
  "engines": {
19
18
  "node": ">=16.0.0",
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { HtmlEmbed, HtmlEmbedCommand, HtmlEmbedConfig, HtmlEmbedEditing, HtmlEmbedUI } from './index.js';
5
+ import type { HtmlEmbed, HtmlEmbedCommand, HtmlEmbedConfig, HtmlEmbedEditing, HtmlEmbedUI } from './index';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module html-embed/htmlembed
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { Widget } from 'ckeditor5/src/widget.js';
10
- import HtmlEmbedEditing from './htmlembedediting.js';
11
- import HtmlEmbedUI from './htmlembedui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Widget } from 'ckeditor5/src/widget';
10
+ import HtmlEmbedEditing from './htmlembedediting';
11
+ import HtmlEmbedUI from './htmlembedui';
12
12
  /**
13
13
  * The HTML embed feature.
14
14
  *
package/src/htmlembed.js CHANGED
@@ -5,10 +5,10 @@
5
5
  /**
6
6
  * @module html-embed/htmlembed
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { Widget } from 'ckeditor5/src/widget.js';
10
- import HtmlEmbedEditing from './htmlembedediting.js';
11
- import HtmlEmbedUI from './htmlembedui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Widget } from 'ckeditor5/src/widget';
10
+ import HtmlEmbedEditing from './htmlembedediting';
11
+ import HtmlEmbedUI from './htmlembedui';
12
12
  /**
13
13
  * The HTML embed feature.
14
14
  *
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { Command } from 'ckeditor5/src/core.js';
5
+ import { Command } from 'ckeditor5/src/core';
6
6
  /**
7
7
  * The insert HTML embed element command.
8
8
  *
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { Command } from 'ckeditor5/src/core.js';
6
- import { findOptimalInsertionRange } from 'ckeditor5/src/widget.js';
5
+ import { Command } from 'ckeditor5/src/core';
6
+ import { findOptimalInsertionRange } from 'ckeditor5/src/widget';
7
7
  /**
8
8
  * The insert HTML embed element command.
9
9
  *
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module html-embed/htmlembedediting
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core.js';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
9
  import '../theme/htmlembed.css';
10
10
  /**
11
11
  * The HTML embed editing feature.
@@ -5,11 +5,11 @@
5
5
  /**
6
6
  * @module html-embed/htmlembedediting
7
7
  */
8
- import { Plugin, icons } from 'ckeditor5/src/core.js';
9
- import { ButtonView } from 'ckeditor5/src/ui.js';
10
- import { toWidget } from 'ckeditor5/src/widget.js';
11
- import { logWarning, createElement } from 'ckeditor5/src/utils.js';
12
- import HtmlEmbedCommand from './htmlembedcommand.js';
8
+ import { Plugin, icons } from 'ckeditor5/src/core';
9
+ import { ButtonView } from 'ckeditor5/src/ui';
10
+ import { toWidget } from 'ckeditor5/src/widget';
11
+ import { logWarning, createElement } from 'ckeditor5/src/utils';
12
+ import HtmlEmbedCommand from './htmlembedcommand';
13
13
  import '../theme/htmlembed.css';
14
14
  /**
15
15
  * The HTML embed editing feature.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module html-embed/htmlembedui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
9
  /**
10
10
  * The HTML embed UI plugin.
11
11
  */
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module html-embed/htmlembedui
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core.js';
9
- import { ButtonView } from 'ckeditor5/src/ui.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { ButtonView } from 'ckeditor5/src/ui';
10
10
  import htmlEmbedIcon from '../theme/icons/html.svg';
11
11
  /**
12
12
  * The HTML embed UI plugin.
package/src/index.d.ts CHANGED
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module html-embed
7
7
  */
8
- export { default as HtmlEmbed } from './htmlembed.js';
9
- export { default as HtmlEmbedEditing } from './htmlembedediting.js';
10
- export { default as HtmlEmbedUI } from './htmlembedui.js';
11
- export type { default as HtmlEmbedCommand } from './htmlembedcommand.js';
12
- export type { HtmlEmbedConfig } from './htmlembedconfig.js';
13
- import './augmentation.js';
8
+ export { default as HtmlEmbed } from './htmlembed';
9
+ export { default as HtmlEmbedEditing } from './htmlembedediting';
10
+ export { default as HtmlEmbedUI } from './htmlembedui';
11
+ export type { default as HtmlEmbedCommand } from './htmlembedcommand';
12
+ export type { HtmlEmbedConfig } from './htmlembedconfig';
13
+ import './augmentation';
package/src/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module html-embed
7
7
  */
8
- export { default as HtmlEmbed } from './htmlembed.js';
9
- export { default as HtmlEmbedEditing } from './htmlembedediting.js';
10
- export { default as HtmlEmbedUI } from './htmlembedui.js';
11
- import './augmentation.js';
8
+ export { default as HtmlEmbed } from './htmlembed';
9
+ export { default as HtmlEmbedEditing } from './htmlembedediting';
10
+ export { default as HtmlEmbedUI } from './htmlembedui';
11
+ import './augmentation';