Skip to content

Commit d3932b6

Browse files
committed
compiled js
1 parent e89feef commit d3932b6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/yafowil/widget/tiptap/resources/widget.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,8 @@ var yafowil_tiptap = (function (exports, $) {
599599
static initialize(context) {
600600
$('div.tiptap-editor', context).each(function() {
601601
let elem = $(this);
602-
if (elem.parents('.arraytemplate').length) {
602+
if (window.yafowil_array !== undefined &&
603+
window.yafowil_array.inside_template(elem)) {
603604
return;
604605
}
605606
new TiptapWidget(elem, {

0 commit comments

Comments
 (0)