import "./index.less"; /** * 自定义「行内图片」节点: * - inline 节点,可插在文字中间(「见图 1 所示」这种引用) * - url / alt / width 持久化在文档数据里 * - 支持拖拽右下角把手调整宽度;width = 0 表示自动(受 CSS max-height 约束,不撑高行) * * 拖拽实现要点: * - 拖动过程中直接改 DOM 的 style.width(流畅,不触发文档事务) * - 松手时才调用 updateInlineContent 写入 props(避免每次 mousemove 都产生一步历史) */ declare const InlineImage: import("@blocknote/core").InlineContentSpec<{ readonly type: "inlineImage"; readonly propSchema: { readonly url: { readonly default: ""; }; readonly basePath: { readonly default: ""; }; readonly alt: { readonly default: ""; }; readonly width: { readonly default: 0; }; }; readonly content: "none"; }>; export default InlineImage; //# sourceMappingURL=inline-image.d.ts.map