- if (preview.contents().length === 0) {
- preview.oneTime(500, "loading", function () {
- preview.addClass("loading");
+ if (preview.children(".richtext").contents().length === 0) {
+ preview.oneTime(200, "loading", function () {
+ preview.children(".richtext_placeholder").removeAttr("hidden");