@gravity-ui/markdown-editor 13.21.4 → 13.22.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
@@ -52,13 +52,13 @@ function Editor({onSubmit}) {
52
52
  }
53
53
  ```
54
54
  Read more:
55
- - [How to connect the editor in the Create React App](docs/how-to-add-editor-with-create-react-app.md)
56
- - [How to add preview for markup mode](docs/how-to-add-preview.md)
57
- - [How to add HTML extension](docs/how-to-connect-html-extension.md)
58
- - [How to add Latex extension](docs/how-to-connect-latex-extension.md)
59
- - [How to add Mermaid extension](docs/how-to-connect-mermaid-extension.md)
60
- - [How to write extension](docs/how-to-create-extension.md)
61
- - [How to add GPT extension](docs/how-to-connect-gpt-extensions.md)
55
+ - [How to connect the editor in the Create React App](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-add-editor-with-create-react-app.md)
56
+ - [How to add preview for markup mode](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-add-preview.md)
57
+ - [How to add HTML extension](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-connect-html-extension.md)
58
+ - [How to add Latex extension](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-connect-latex-extension.md)
59
+ - [How to add Mermaid extension](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-connect-mermaid-extension.md)
60
+ - [How to write extension](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-create-extension.md)
61
+ - [How to add GPT extension](https://github.com/gravity-ui/markdown-editor/blob/main/docs/how-to-connect-gpt-extensions.md)
62
62
 
63
63
 
64
64
  ### i18n
@@ -1,4 +1,4 @@
1
- import { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  import type { ExtensionNodeSpec } from '../../../../core';
3
3
  export { yfmHtmlBlockNodeName } from './const';
4
4
  export interface YfmHtmlBlockSpecsOptions extends Omit<PluginOptions, 'runtimeJsPath' | 'containerClasses' | 'bundle' | 'embeddingMode'> {
@@ -1,4 +1,4 @@
1
- import { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  import type { IHTMLIFrameElementConfig } from '@diplodoc/html-extension/runtime';
3
3
  import { Action, ExtensionAuto } from '../../../core';
4
4
  import { YfmHtmlBlockAction } from './YfmHtmlBlockSpecs/const';
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  /** During build process, the current version will be injected here */
5
- exports.VERSION = typeof '13.21.4' !== 'undefined' ? '13.21.4' : 'unknown';
5
+ exports.VERSION = typeof '13.22.0' !== 'undefined' ? '13.22.0' : 'unknown';
@@ -1,3 +1,3 @@
1
- import type { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import type { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  export type { TransformMeta } from '../../types';
3
3
  export declare type PluginRuntime = PluginOptions['runtimeJsPath'];
@@ -1,4 +1,4 @@
1
- import { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  import type { ExtensionNodeSpec } from '../../../../core';
3
3
  export { yfmHtmlBlockNodeName } from './const';
4
4
  export interface YfmHtmlBlockSpecsOptions extends Omit<PluginOptions, 'runtimeJsPath' | 'containerClasses' | 'bundle' | 'embeddingMode'> {
@@ -1,4 +1,4 @@
1
- import { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  import type { IHTMLIFrameElementConfig } from '@diplodoc/html-extension/runtime';
3
3
  import { Action, ExtensionAuto } from '../../../core';
4
4
  import { YfmHtmlBlockAction } from './YfmHtmlBlockSpecs/const';
@@ -1,2 +1,2 @@
1
1
  /** During build process, the current version will be injected here */
2
- export const VERSION = typeof '13.21.4' !== 'undefined' ? '13.21.4' : 'unknown';
2
+ export const VERSION = typeof '13.22.0' !== 'undefined' ? '13.22.0' : 'unknown';
@@ -1,3 +1,3 @@
1
- import type { PluginOptions } from '@diplodoc/html-extension/plugin/transform';
1
+ import type { PluginOptions } from '@diplodoc/html-extension/plugin';
2
2
  export type { TransformMeta } from '../../types';
3
3
  export declare type PluginRuntime = PluginOptions['runtimeJsPath'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/markdown-editor",
3
- "version": "13.21.4",
3
+ "version": "13.22.0",
4
4
  "description": "Markdown wysiwyg and markup editor",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -201,7 +201,7 @@
201
201
  },
202
202
  "devDependencies": {
203
203
  "@diplodoc/folding-headings-extension": "0.1.0",
204
- "@diplodoc/html-extension": "2.1.0",
204
+ "@diplodoc/html-extension": "2.3.2",
205
205
  "@diplodoc/latex-extension": "1.0.3",
206
206
  "@diplodoc/mermaid-extension": "1.2.1",
207
207
  "@diplodoc/transform": "4.22.0",
@@ -276,7 +276,7 @@
276
276
  },
277
277
  "peerDependencies": {
278
278
  "@diplodoc/folding-headings-extension": "^0.1.0",
279
- "@diplodoc/html-extension": "2.1.0",
279
+ "@diplodoc/html-extension": "2.3.2",
280
280
  "@diplodoc/latex-extension": "^1.0.3",
281
281
  "@diplodoc/mermaid-extension": "^1.0.0",
282
282
  "@diplodoc/transform": ">=4.5.0 <4.19.0",