2021-09-09 15:10:22 +00:00
|
|
|
import { registerWidgets } from "./WidgetRegistry";
|
2020-04-16 11:56:36 +00:00
|
|
|
import PropertyControlRegistry from "./PropertyControlRegistry";
|
2020-10-21 04:25:32 +00:00
|
|
|
|
2020-04-16 11:56:36 +00:00
|
|
|
export const editorInitializer = async () => {
|
2021-09-09 15:10:22 +00:00
|
|
|
registerWidgets();
|
2020-04-16 11:56:36 +00:00
|
|
|
PropertyControlRegistry.registerPropertyControlBuilders();
|
|
|
|
|
|
|
|
|
|
const moment = await import("moment-timezone");
|
|
|
|
|
moment.tz.setDefault(moment.tz.guess());
|
|
|
|
|
};
|