Replace md editor with ckeditor

This commit is contained in:
2022-08-23 17:54:58 +02:00
parent 7cc917d9f7
commit ca459c467b
23 changed files with 97 additions and 112 deletions

View File

@@ -8,7 +8,7 @@ from django.shortcuts import render
from django.core.exceptions import ObjectDoesNotExist
from django.core.paginator import Paginator, PageNotAnInteger
from portal.utils import get_site_conf, markdown_uploader
from portal.utils import get_site_conf
from portal.models import Flatpage
from roster.models import RollingStock
from consist.models import Consist
@@ -259,8 +259,3 @@ class GetFlatpage(View):
"flatpage.html",
{"flatpage": flatpage},
)
class MDUploader(View):
def post(self, request):
return markdown_uploader(request)