@textbus/core
Advanced tools
Comparing version 2.0.0-alpha.27 to 2.0.0-alpha.28
@@ -1,5 +0,6 @@ | ||
import { produce } from 'immer'; | ||
import { produce, enablePatches } from 'immer'; | ||
import { Subject } from '@tanbo/stream'; | ||
import { ChangeMarker, Slot, Slots } from './model/_api'; | ||
import { makeError } from './_utils/make-error'; | ||
enablePatches(); | ||
const componentErrorFn = makeError('DefineComponent'); | ||
@@ -6,0 +7,0 @@ class EventCache { |
import { AttributeFormatter, BlockFormatter, Formatter, InlineFormatter } from './formatter'; | ||
import { Slot } from './slot'; | ||
export declare type FormatValue = string | number | boolean | Record<string, string | number | boolean>; | ||
export declare type FormatValue = string | number | boolean | null | Record<string, string | number | boolean>; | ||
export interface FormatRange { | ||
@@ -5,0 +5,0 @@ startIndex: number; |
import 'reflect-metadata'; | ||
import { enablePatches } from 'immer'; | ||
enablePatches(); | ||
export * from './_utils/make-error'; | ||
@@ -5,0 +3,0 @@ export * from './foundation/_api'; |
{ | ||
"name": "@textbus/core", | ||
"version": "2.0.0-alpha.27", | ||
"version": "2.0.0-alpha.28", | ||
"description": "TextBus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.", | ||
@@ -43,3 +43,3 @@ "main": "./bundles/public-api.js", | ||
}, | ||
"gitHead": "42f0ba13c9f833466b217f30b6c8132ba07e02ee" | ||
"gitHead": "536327fc2609d3f2bbf3b0720738d3ed918d612c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
403570
90
6571