@ckeditor/ckeditor5-source-editing 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 source editing feature
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-source-editing.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-source-editing)
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-source-editing)
8
7
 
9
8
  This package implements the source editing support for CKEditor 5 that allows you to view and edit the source of the document.
10
9
 
@@ -0,0 +1 @@
1
+ !function(i){const n=i.ug=i.ug||{};n.dictionary=Object.assign(n.dictionary||{},{Source:"مەنبە"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
@@ -0,0 +1,21 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
+ "Language: ug\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "The label of the source editing feature toolbar button."
20
+ msgid "Source"
21
+ msgstr "مەنبە"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-source-editing",
3
- "version": "38.2.0-alpha.1",
3
+ "version": "39.0.0",
4
4
  "description": "Source editing feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -11,10 +11,9 @@
11
11
  "ckeditor5-dll"
12
12
  ],
13
13
  "main": "src/index.js",
14
- "type": "module",
15
14
  "dependencies": {
16
- "@ckeditor/ckeditor5-theme-lark": "38.2.0-alpha.1",
17
- "ckeditor5": "38.2.0-alpha.1"
15
+ "@ckeditor/ckeditor5-theme-lark": "39.0.0",
16
+ "ckeditor5": "39.0.0"
18
17
  },
19
18
  "engines": {
20
19
  "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 { SourceEditing } from './index.js';
5
+ import type { SourceEditing } from './index';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface PluginsMap {
8
8
  [SourceEditing.pluginName]: SourceEditing;
package/src/index.d.ts CHANGED
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * @module source-editing
7
7
  */
8
- export { default as SourceEditing } from './sourceediting.js';
9
- import './augmentation.js';
8
+ export { default as SourceEditing } from './sourceediting';
9
+ import './augmentation';
package/src/index.js CHANGED
@@ -5,5 +5,5 @@
5
5
  /**
6
6
  * @module source-editing
7
7
  */
8
- export { default as SourceEditing } from './sourceediting.js';
9
- import './augmentation.js';
8
+ export { default as SourceEditing } from './sourceediting';
9
+ import './augmentation';
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module source-editing/sourceediting
7
7
  */
8
- import { type Editor, Plugin, PendingActions } from 'ckeditor5/src/core.js';
8
+ import { type Editor, Plugin, PendingActions } from 'ckeditor5/src/core';
9
9
  import '../theme/sourceediting.css';
10
10
  /**
11
11
  * The source editing feature.
@@ -6,10 +6,10 @@
6
6
  * @module source-editing/sourceediting
7
7
  */
8
8
  /* global console */
9
- import { Plugin, PendingActions } from 'ckeditor5/src/core.js';
10
- import { ButtonView } from 'ckeditor5/src/ui.js';
11
- import { createElement, ElementReplacer } from 'ckeditor5/src/utils.js';
12
- import { formatHtml } from './utils/formathtml.js';
9
+ import { Plugin, PendingActions } from 'ckeditor5/src/core';
10
+ import { ButtonView } from 'ckeditor5/src/ui';
11
+ import { createElement, ElementReplacer } from 'ckeditor5/src/utils';
12
+ import { formatHtml } from './utils/formathtml';
13
13
  import '../theme/sourceediting.css';
14
14
  import sourceEditingIcon from '../theme/icons/source-editing.svg';
15
15
  const COMMAND_FORCE_DISABLE_ID = 'SourceEditingMode';