Skip to content

Commit 9306a3b

Browse files
committed
refactor(texteditor): delete isolated editordev route
1 parent c4b5169 commit 9306a3b

6 files changed

Lines changed: 0 additions & 129 deletions

File tree

contentcuration/contentcuration/dev_urls.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from django.urls import include
99
from django.urls import path
1010
from django.urls import re_path
11-
from django.views.generic import TemplateView
1211
from drf_yasg import openapi
1312
from drf_yasg.views import get_schema_view
1413
from rest_framework import permissions
@@ -76,10 +75,3 @@ def file_server(request, storage_path=None):
7675
re_path(r"^api-auth/", include("rest_framework.urls", namespace="rest_framework")),
7776
re_path(r"^content/(?P<storage_path>.+)$", file_server),
7877
]
79-
80-
urlpatterns += [
81-
re_path(
82-
r"^editor-dev(?:/.*)?$",
83-
TemplateView.as_view(template_name="contentcuration/editor_dev.html"),
84-
),
85-
]

contentcuration/contentcuration/frontend/editorDev/index.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

contentcuration/contentcuration/frontend/editorDev/router.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

contentcuration/contentcuration/frontend/shared/views/TipTapEditor/TipTapEditor/DevHarness.vue

Lines changed: 0 additions & 76 deletions
This file was deleted.

contentcuration/contentcuration/templates/contentcuration/editor_dev.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

webpack.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,5 @@ module.exports = (env = {}) => {
184184
],
185185
stats: 'normal',
186186
});
187-
if (dev) {
188-
config.entry.editorDev = './editorDev/index.js';
189-
}
190187
return config;
191188
};

0 commit comments

Comments
 (0)