In my fresh installation of the module, it did not object to the absence of the fakeobjects js plugin. Later, as things were crashing, I found that it was looking for the file in the core/assets/vendor/ckedit/plugin directory. I loaded it in there and all is finally well.

Was that just some local weirdness, or is that a real bug?

Comments

Cayenne created an issue. See original summary.

pookmish’s picture

I too have encountered this error.

Resource name "fakeobjects" was not found at "/core/assets/vendor/ckeditor/plugins/fakeobjects/plugin.js"

I'm starting to investigate

pookmish’s picture

Status: Active » Needs review
StatusFileSize
new950 bytes

I was able to make progress on the issue. the problem is when the page has a CKEditor formatted field but the CKEditor text format is not using any button that uses the fakeobjects. So the CKEditor doesn't load the FakeObjects plugin. This patch extends another interface which forces the plugin to load on every CKEditor area.

bkosborne’s picture

But why is CKEditor trying to load the plugin in that scenario?

sherakama’s picture

StatusFileSize
new907 bytes

Re-roll for version 8.1.1

bygeoffthompson’s picture

Status: Needs review » Reviewed & tested by the community

Tested and working. Rerolled patch works with D9 ready version 1.1.

Thank you

kevinquillen’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)

I've not encountered this scenario. Why would FakeObjects be needed to be force loaded when no active plugins require it? This plugin is a behind the scenes wiring for other plugins that leverage it to represent object data in the editor.

Is this some edge case item or is there a common way to replicate this that causes issues?