@slate-serializers/html
Advanced tools
Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "@slate-serializers/html", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
export { htmlToSlate } from './serializers/htmlToSlate'; | ||
export { slateToHtml } from './serializers/slateToHtml'; | ||
export type { SlateToDomConfig as SlateToHtmlConfig, slateToDomConfig as slateToHtmlConfig, payloadSlateToDomConfig as payloadSlateToHtmlConfig, slateDemoSlateToDomConfig as slateDemoSlateToHtmlConfig, ElementTransform, MarkTransform, } from '@slate-serializers/dom'; | ||
export { Config as HtmlToSlateConfig } from './serializers/htmlToSlate/config/types'; | ||
export { type SlateToDomConfig as SlateToHtmlConfig, slateToDomConfig as slateToHtmlConfig, payloadSlateToDomConfig as payloadSlateToHtmlConfig, slateDemoSlateToDomConfig as slateDemoSlateToHtmlConfig, type ElementTransform, type MarkTransform, } from '@slate-serializers/dom'; | ||
export type { Config as HtmlToSlateConfig } from './serializers/htmlToSlate/config/types'; | ||
export { config as htmlToSlateConfig } from './serializers/htmlToSlate/config/default'; | ||
export { config as payloadHtmlToSlateConfig } from './serializers/htmlToSlate/config/payload'; | ||
export { config as slateDemoHtmlToSlateConfig } from './serializers/htmlToSlate/config/slateDemo'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.slateDemoHtmlToSlateConfig = exports.payloadHtmlToSlateConfig = exports.htmlToSlateConfig = exports.slateToHtml = exports.htmlToSlate = void 0; | ||
exports.slateDemoHtmlToSlateConfig = exports.payloadHtmlToSlateConfig = exports.htmlToSlateConfig = exports.slateDemoSlateToHtmlConfig = exports.payloadSlateToHtmlConfig = exports.slateToHtmlConfig = exports.slateToHtml = exports.htmlToSlate = void 0; | ||
// Serializers | ||
@@ -9,2 +9,9 @@ var htmlToSlate_1 = require("./serializers/htmlToSlate"); | ||
Object.defineProperty(exports, "slateToHtml", { enumerable: true, get: function () { return slateToHtml_1.slateToHtml; } }); | ||
// Configuration objects | ||
// slateToDom - renamed to slateToHtml | ||
// slateToHtml uses the same config as slateToDom but it makes sense to rename the config objects in case we want to add a slateToHtml specific config in the future | ||
var dom_1 = require("@slate-serializers/dom"); | ||
Object.defineProperty(exports, "slateToHtmlConfig", { enumerable: true, get: function () { return dom_1.slateToDomConfig; } }); | ||
Object.defineProperty(exports, "payloadSlateToHtmlConfig", { enumerable: true, get: function () { return dom_1.payloadSlateToDomConfig; } }); | ||
Object.defineProperty(exports, "slateDemoSlateToHtmlConfig", { enumerable: true, get: function () { return dom_1.slateDemoSlateToDomConfig; } }); | ||
var default_1 = require("./serializers/htmlToSlate/config/default"); | ||
@@ -11,0 +18,0 @@ Object.defineProperty(exports, "htmlToSlateConfig", { enumerable: true, get: function () { return default_1.config; } }); |
Sorry, the diff of this file is not supported yet
75565
1436