From 651f20c9c46e9b37dc9008fb6482608939c59aca Mon Sep 17 00:00:00 2001 From: webfryslan Date: Wed, 16 Mar 2022 15:31:46 +0100 Subject: [PATCH] Update CKEditorForMendix.js changed rl 156 so multiple editors on one form won't interact with each other Forum discussion: https://forum.mendix.com/link/questions/97244 --- src/CKEditorForMendix/widget/CKEditorForMendix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CKEditorForMendix/widget/CKEditorForMendix.js b/src/CKEditorForMendix/widget/CKEditorForMendix.js index 7f4bf7c..f5b3431 100644 --- a/src/CKEditorForMendix/widget/CKEditorForMendix.js +++ b/src/CKEditorForMendix/widget/CKEditorForMendix.js @@ -153,7 +153,7 @@ define([ })); var self = this; this._editor.on("loaded", function() { - var content = $(".cke_contents", this.domNode); + var content = $("." + this.id + " .cke_contents"); content.click(function() { console.log("focused click"); self._editor.focus();