#define EC_TAG_DIV_F "</div>"
#define EC_TAG_DIV_DIR EC_TAG_DIV_DIR_S"<br>"EC_TAG_DIV_F
#define EC_TAG_SIGNATURE_DEFAULT EC_TAG_DIV_DIR
-#define EC_TAG_SIGNATURE_TEXT EC_TAG_DIV_DIR""EC_TAG_DIV_DIR""EC_TAG_DIV_DIR""EC_TAG_DIV_DIR_S"<span style='font-size: 14px; color: rgba(%d, %d, %d, %d);'>%s</span>"EC_TAG_DIV_F
+#define EC_TAG_SIGNATURE_TEXT EC_TAG_DIV_DIR""EC_TAG_DIV_DIR""EC_TAG_DIV_DIR"<div dir='auto' style='font-size: 14px; color: rgba(%d, %d, %d, %d);'>%s"EC_TAG_DIV_F
#define EC_TAG_BODY_CSS_START "<body class='css-body'>\n"
#define EC_TAG_BODY_ORIGINAL_MESSAGE_START "<body class='css-body-IncludeOriginalMessage'>\n"
#define EC_TAG_BODY_END "</body>\n"
background-color:#ffffff !important;
overflow-x: auto;
overflow-y: hidden;
- backface-visibility: hidden;
word-wrap: break-word;
}
text-align: initial !important; /* initial: For LTR, left. For RTL, right */
background-color:#ffffff !important;
overflow: hidden;
- backface-visibility: hidden;
word-wrap: break-word;
}
img.style.cssText = G_VAL_IMAGE_STYLE;
}
img.src = fileUri;
- img.style.display = "none";
+ img.style.cssText = "position: absolute; visibility: hidden;";
range.deleteContents();
range.insertNode(img);
g_lastRange = range;
} else {
var span = document.createElement("span");
- span.style.cssFloat = "left";
+ span.style.position = "absolute";
span.appendChild(document.createTextNode("\u200b"));
range.insertNode(span);
var rects = range.getClientRects();