mirror of
https://github.com/docmost/docmost.git
synced 2026-07-15 10:46:50 +10:00
18 lines
265 B
TypeScript
18 lines
265 B
TypeScript
import { Extension } from "@tiptap/core";
|
|
|
|
declare module "@tiptap/core" {
|
|
interface Storage {
|
|
shared: Record<string, any>;
|
|
}
|
|
}
|
|
|
|
const SharedStorage = Extension.create({
|
|
name: "shared",
|
|
|
|
addStorage() {
|
|
return {};
|
|
},
|
|
});
|
|
|
|
export { SharedStorage };
|