/** * Integration test example for cf-code-editor with Cell binding. * Used to test cursor stability when typing with Cell sync. */ import { Default, NAME, pattern, UI } from "commonfabric"; interface Input { content: string | Default<"">; } export default pattern(({ content }) => { return { [NAME]: "Code Editor Test", [UI]: (

Code Editor Cursor Test

Content: {content}
), content, }; });