We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d2cc25 commit 82d44d8Copy full SHA for 82d44d8
assets/js/froala.snippets.plugin.js
@@ -45,7 +45,7 @@
45
46
if (options) {
47
// Get editor element. OC2's richeditor has 2 nested data-control=richeditor, we want the outer one
48
- var $editor = this.$el.parents('[data-control="richeditor"]').last();
+ var $editor = this.$el.parents('[data-control="richeditor"]:not([data-richeditor-vue])');
49
50
var $snippetNode = $('<figure contenteditable="false" data-inspector-css-class="hero"> </figure>');
51
0 commit comments