Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 0.6, 0.7, 0.8, 1.0
-
Fix Version/s: 1.1
-
Component/s: Inline Edit
-
Labels:None
Description
At the moment, the jquery.tinymce plugin invokes the following code immediately upon being parsed:
// Invoke this immediately to prime TinyMCE.
tinyMCE.init({
mode: "none",
theme: "simple"
});
However, to properly be included in Fluid-all.js, the plugin should not assume that TinyMCE is present, in case a user is using Fluid-all.js without being interested in TinyMCE-related code.
The correct implementation should be:
if (typeof(tinyMCE) !== "undefined") {
// Invoke this immediately to prime TinyMCE.
tinyMCE.init({
mode: "none",
theme: "simple"
});
}
// Invoke this immediately to prime TinyMCE.
tinyMCE.init({
mode: "none",
theme: "simple"
});
However, to properly be included in Fluid-all.js, the plugin should not assume that TinyMCE is present, in case a user is using Fluid-all.js without being interested in TinyMCE-related code.
The correct implementation should be:
if (typeof(tinyMCE) !== "undefined") {
// Invoke this immediately to prime TinyMCE.
tinyMCE.init({
mode: "none",
theme: "simple"
});
}