• heddab

    (@heddab)


    “unexpectet error with the text editor”
    I have an e-learning website, where people buy courses.
    I use WordPress with Gutenberg, Sensei and Woocommerse.
    I now have a problem, and I think it startet after a Sensei update, but I’m not sure at all.
    Whenever I try to edit a page, a lesson, a course or whatever I get this error: “unexpectet error with the text editor” (translated from Norwegian, so I’m not sure if this would be the identical message in english).
    It seems to be a problem when I use Gutenberg, because it workes if I change to classical editor – but that editor has so many limitations, so I can not edit my courses, lessons, pages like I used to.
    I want it back to the way it used to be, but I can’t seem to figure it out.
    Does anyone have any advice?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Justin Tadlock

    (@greenshady)

    When you say “Gutenberg,” do you mean that you’re running the Gutenberg plugin? I just want to clarify because some folks refer to the block editor as Gutenberg, even when they’re not running the plugin. If running the plugin, can you try deactivating it to see if that helps?

    Without knowing the error, it’ll be tough to figure out the issue. On the Chrome web browser, you should be able to hit Ctrl + Shift + J (Windows) or Ctrl + Opt + J (Mac) to pull up the Console, which should list any JavaScript errors. There should be a similar way to do this with other browsers.

    If you see any errors in the Console, paste them here. I don’t know if I can help with that, but it might give someone a starting point.

    Thread Starter heddab

    (@heddab)

    Hmmm. I think we just had the block editor, but now when I have tried to figure it out I added Gutenberg plugin, and that didn’t work.

    I see some errors in the console, but I have no idea what they mean:

    Refused to load the image '<URL>' because it violates the following Content Security Policy directive: "img-src 'self' data: blob: <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL> <URL>".
    
    VM47:1 Refused to load the script 'https://sc-static.net/scevent.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://*.stripe.com https://s3.amazonaws.com/ https://*.stripe.com/ https://*.intercom.com https://*.intercom.io https://*.intercomcdn.com https://*.intercomusercontent.com https://*.intercom-sheets.com https://*.intercom-reporting.com https://*.intercom.help https://*.intercomassets.com https://*.intercom-attachments-5.com https://*.intercom-attachments-6.com https://*.intercom-attachments-9.com https://*.typeform.io https://*.typeform.com https://*.vimeo.com/ https://google-analytics.com/ https://*.google-analytics.com/ https://googletagmanager.com/ https://*.googletagmanager.com/ https://*.hotjar.com/ https://*.stripe.com https://*.stripe.com https://googletagmanager.com/ https://*.googletagmanager.com/ https://tagmanager.google.com/ https://google.com/ https://*.google.com/ https://googleadservices.com/ https://*.googleadservices.com/ https://googleads.g.doubleclick.net/ https://connect.facebook.net/ https://*.intercom.com https://*.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
    
    (anonymous) @ VM47:1
    VM48:2 Refused to load the script 'https://sibautomation.com/sa.js?key=eavu177ip79j0i7t21empoyu' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://*.stripe.com https://s3.amazonaws.com/ https://*.stripe.com/ https://*.intercom.com https://*.intercom.io https://*.intercomcdn.com https://*.intercomusercontent.com https://*.intercom-sheets.com https://*.intercom-reporting.com https://*.intercom.help https://*.intercomassets.com https://*.intercom-attachments-5.com https://*.intercom-attachments-6.com https://*.intercom-attachments-9.com https://*.typeform.io https://*.typeform.com https://*.vimeo.com/ https://google-analytics.com/ https://*.google-analytics.com/ https://googletagmanager.com/ https://*.googletagmanager.com/ https://*.hotjar.com/ https://*.stripe.com https://*.stripe.com https://googletagmanager.com/ https://*.googletagmanager.com/ https://tagmanager.google.com/ https://google.com/ https://*.google.com/ https://googleadservices.com/ https://*.googleadservices.com/ https://googleads.g.doubleclick.net/ https://connect.facebook.net/ https://*.intercom.com https://*.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
    
    (anonymous) @ VM48:2
    connect.facebook.net/:1 Refused to frame 'https://www.facebook.com/' because it violates the following Content Security Policy directive: "frame-src 'self' data: blob: https://*.stripe.com/ https://*.gnistkurs.no https://*.intercom.com https://*.intercom.io https://*.intercomcdn.com https://*.intercomusercontent.com https://intercom-sheets.com https://*.intercom-reporting.com https://*.intercom.help https://*.intercomassets.com https://*.intercom-attachments-5.com https://*.intercom-attachments-6.com https://*.intercom-attachments-9.com https://*.typeform.io https://*.typeform.com https://*.vimeo.com/ https://*.hotjar.com/ https://*.gnistkurs.no https://*.vimeo.com/ https://*.gnistkurs.no https://bid.g.doubleclick.net/ https://*.gnistkurs.no https://*.intercom.com/ https://*.intercom.io/".
    
    VM67:6772 crbug/1173575, non-JS module files deprecated.
    (anonymous) @ VM67:6772
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘“unexpectet error with the text editor”’ is closed to new replies.