Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion web/libs/editor/src/components/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ import { TreeValidation } from "../TreeValidation/TreeValidation";
/**
* Tags
*/
// Custom tags should be registered first so all MST models will use their parts like regions and results
import "../../tags/custom";

import "../../tags/object";
import "../../tags/control";
import "../../tags/visual";
import "../../tags/Custom";

/**
* Utils and common components
Expand Down
2 changes: 1 addition & 1 deletion web/libs/editor/src/regions/Area.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { TimeSeriesRegionModel } from "./TimeSeriesRegion";
import { ParagraphsRegionModel } from "./ParagraphsRegion";
import { VideoRectangleRegionModel } from "./VideoRectangleRegion";
import { BitmaskRegionModel } from "./BitmaskRegion";
import { CustomRegionModel } from "./CustomRegion";
import { CustomRegionModel } from "../tags/custom/CustomRegion";

// general Area type for classification Results which doesn't belong to any real Area
const ClassificationArea = types.compose(
Expand Down
147 changes: 0 additions & 147 deletions web/libs/editor/src/regions/CustomRegion.js

This file was deleted.

3 changes: 0 additions & 3 deletions web/libs/editor/src/regions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { HtxTextAreaRegion, TextAreaRegionModel } from "./TextAreaRegion";
import { RichTextRegionModel } from "./RichTextRegion";
import { TimelineRegionModel } from "./TimelineRegion";
import { VideoRectangleRegionModel } from "./VideoRectangleRegion";
import { CustomRegionModel } from "./CustomRegion";

const AllRegionsType = types.union(
AudioRegionModel,
Expand All @@ -33,7 +32,6 @@ const AllRegionsType = types.union(
TimelineRegionModel,
ParagraphsRegionModel,
VideoRectangleRegionModel,
CustomRegionModel,
...Registry.customTags.map((t) => t.region).filter(Boolean),
);

Expand Down Expand Up @@ -62,5 +60,4 @@ export {
TextAreaRegionModel,
TimelineRegionModel,
VideoRectangleRegionModel,
CustomRegionModel,
};
Loading
Loading