@ckeditor/ckeditor5-autoformat 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 +0 -1
- package/package.json +2 -3
- package/src/augmentation.d.ts +1 -1
- package/src/autoformat.d.ts +2 -2
- package/src/autoformat.js +4 -4
- package/src/blockautoformatediting.d.ts +2 -2
- package/src/blockautoformatediting.js +2 -2
- package/src/index.d.ts +2 -2
- package/src/index.js +2 -2
- package/src/inlineautoformatediting.d.ts +3 -3
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ CKEditor 5 autoformat feature
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-autoformat)
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
|
7
|
-

|
|
8
7
|
|
|
9
8
|
This package implements the autoformatting feature for CKEditor 5. It allows styling text by typing sequences like `**bold this**`.
|
|
10
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-autoformat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "39.0.0",
|
|
4
4
|
"description": "Autoformatting 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": "
|
|
15
|
+
"ckeditor5": "39.0.0"
|
|
17
16
|
},
|
|
18
17
|
"engines": {
|
|
19
18
|
"node": ">=16.0.0",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -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 { Autoformat } from './index
|
|
5
|
+
import type { Autoformat } from './index';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[Autoformat.pluginName]: Autoformat;
|
package/src/autoformat.d.ts
CHANGED
|
@@ -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 { Plugin } from 'ckeditor5/src/core
|
|
6
|
-
import { Delete } from 'ckeditor5/src/typing
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
+
import { Delete } from 'ckeditor5/src/typing';
|
|
7
7
|
/**
|
|
8
8
|
* Enables a set of predefined autoformatting actions.
|
|
9
9
|
*
|
package/src/autoformat.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
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 { Plugin } from 'ckeditor5/src/core
|
|
6
|
-
import { Delete } from 'ckeditor5/src/typing
|
|
7
|
-
import blockAutoformatEditing from './blockautoformatediting
|
|
8
|
-
import inlineAutoformatEditing from './inlineautoformatediting
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
+
import { Delete } from 'ckeditor5/src/typing';
|
|
7
|
+
import blockAutoformatEditing from './blockautoformatediting';
|
|
8
|
+
import inlineAutoformatEditing from './inlineautoformatediting';
|
|
9
9
|
/**
|
|
10
10
|
* Enables a set of predefined autoformatting actions.
|
|
11
11
|
*
|
|
@@ -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 type { Editor } from 'ckeditor5/src/core
|
|
6
|
-
import type Autoformat from './autoformat
|
|
5
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
6
|
+
import type Autoformat from './autoformat';
|
|
7
7
|
/**
|
|
8
8
|
* The block autoformatting engine. It allows to format various block patterns. For example,
|
|
9
9
|
* it can be configured to turn a paragraph starting with `*` and followed by a space into a list item.
|
|
@@ -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 { LiveRange } from 'ckeditor5/src/engine
|
|
6
|
-
import { first } from 'ckeditor5/src/utils
|
|
5
|
+
import { LiveRange } from 'ckeditor5/src/engine';
|
|
6
|
+
import { first } from 'ckeditor5/src/utils';
|
|
7
7
|
/**
|
|
8
8
|
* The block autoformatting engine. It allows to format various block patterns. For example,
|
|
9
9
|
* it can be configured to turn a paragraph starting with `*` and followed by a space into a list item.
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
*
|
|
17
17
|
* @module autoformat/inlineautoformatediting
|
|
18
18
|
*/
|
|
19
|
-
import type { Editor } from 'ckeditor5/src/core
|
|
20
|
-
import type { Range, Writer } from 'ckeditor5/src/engine
|
|
21
|
-
import type Autoformat from './autoformat
|
|
19
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
20
|
+
import type { Range, Writer } from 'ckeditor5/src/engine';
|
|
21
|
+
import type Autoformat from './autoformat';
|
|
22
22
|
export type TestCallback = (text: string) => {
|
|
23
23
|
remove: Array<Array<number>>;
|
|
24
24
|
format: Array<Array<number>>;
|