wed
Version:
Wed is a schema-aware editor for XML documents.
16 lines (15 loc) • 534 B
TypeScript
/**
* @author Louis-Dominique Dubeau
* @license MPL 2.0
* @copyright Mangalam Research Center for Buddhist Languages
*/
import { DLoc } from "./dloc";
import { Editor } from "./editor";
export interface BoundaryCoordinates {
left: number;
top: number;
bottom: number;
}
export declare function boundaryXY(boundary: DLoc): BoundaryCoordinates;
export declare function getAttrValueNode(attrVal: Element): Node;
export declare function getGUINodeIfExists(editor: Editor, node: Node | null | undefined): Node | undefined;