Skip to content

Cancel text editor cause 404 error, "revert-on-cancel" is missing #73

Open
@TLuesebrinck

Description

@TLuesebrinck

I have uninstalled and reinstall the djangocms-text, but it does not help.

Page not found (404)
Request Method:	POST
Request URL:	/en/admin/cms/page/plugin/text_plugin/revert-on-cancel/
Raised by:	djangocms_text.cms_plugins.revert_on_cancel
Using the URLconf defined in flickrocket.urls, Django tried these URL patterns, in this order:

^(?P<page>.+\.html)
^(?P<page>.+\.mp4)$
sitemap.xml
sitemap.xml
taggit_autosuggest/
robots.txt
The current path, en/admin/cms/page/plugin/text_plugin/revert-on-cancel/, didn’t match any of these.

The path it try to open comes from this config json (I have cut out something to make it better readable):

<script id="cms-editor-cfg" type="application/json">{"add_plugin_url": "/en/admin/cms/page/add-plugin/", "url_endpoint": "/en/admin/djangocms_link/link/urls", "static_url": "/static/djangocms_text", "lang_alt": {"toolbar": "CMS Plugins", "add": "Add CMS Plugin", "edit": "Edit CMS Plugin", "aria": "CMS Plugins"}, "language": "de", "render_plugin_url": "/en/admin/cms/page/plugin/text_plugin/render-plugin/", "cancel_plugin_url": "/en/admin/cms/page/plugin/text_plugin/revert-on-cancel/", "messages_url": "/en/admin/cms/page/plugin/text_plugin/messages/"}</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions