add the HACK_CSS flag to bypass css parsing (#16)
This commit is contained in:
4
typings/rebuild.d.ts
vendored
4
typings/rebuild.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import { serializedNodeWithId, idNodeMap, INode } from './types';
|
||||
export declare function addHoverClass(cssText: string): string;
|
||||
export declare function buildNodeWithSN(n: serializedNodeWithId, doc: Document, map: idNodeMap, skipChild?: boolean): INode | null;
|
||||
declare function rebuild(n: serializedNodeWithId, doc: Document): [Node | null, idNodeMap];
|
||||
export declare function buildNodeWithSN(n: serializedNodeWithId, doc: Document, map: idNodeMap, skipChild?: boolean, HACK_CSS?: boolean): INode | null;
|
||||
declare function rebuild(n: serializedNodeWithId, doc: Document, HACK_CSS?: boolean): [Node | null, idNodeMap];
|
||||
export default rebuild;
|
||||
|
||||
Reference in New Issue
Block a user