// slight delay to allow Redactor to initialize itself
window.setTimeout(function() {
$(element).redactor('code.set', content);
+ $(element).redactor('core.editor')[0].classList.add('redactorReady');
}, 10);
};
// slight delay to allow Redactor to initialize itself
window.setTimeout(function() {
$(element).redactor('code.set', content);
+ $(element).redactor('core.editor')[0].classList.add('redactorReady');
}, 10);
};
mpHide.call(this);
setTimeout(this.focus.end.bind(this), 100);
+
+ this.placeholder.enable();
}).bind(this);
var textarea = this.source.$textarea[0];
}
#messageQuickReply .messageSidebar {
- -webkit-filter: grayscale(1);
- filter: grayscale(1);
-
opacity: .6;
}
-.wysiwygTextarea {
- background-color: transparent !important;
- border: 1px solid $wcfContentBorderInner !important;
- color: transparent !important;
- display: block;
- height: 238px;
- width: 100%;
-}
-
.redactor-box {
position: relative;
color: $wcfContentDimmedText;
content: attr(placeholder);
display: block;
+ pointer-events: none;
position: absolute;
}
.smiley {
margin: 0 1px;
}
+
+.wysiwygTextarea {
+ background-color: transparent !important;
+ border: 1px solid $wcfContentBorderInner !important;
+ color: transparent !important;
+ display: block;
+ height: 238px;
+ width: 100%;
+}