hvlads / django-ckeditor-5

Django CKEditor 5 integration.
Other
152 stars 60 forks source link

improve handling of config values containing slashes #182

Closed goapunk closed 8 months ago

goapunk commented 10 months ago

Use a regexp to test if a value might be a valid regexp. This fixes config values ending up broken if they contain slashes but are not actually a regexp.

One such example is: "link": {"defaultProtocol": "https://"}