Metadata
- Source
- FLUID-2275
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Colin Clark
- Reporter
- Colin Clark
- Created
2009-02-19T19:01:37.000-0500 - Updated
2011-02-28T16:45:17.889-0500 - Versions
-
- 0.6
- 0.7
- 0.8
- 1.0
- Fixed Versions
-
- 1.1
- Component
-
- Inline Edit
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"
});
}
Comments
-
Colin Clark commented
2009-05-11T18:33:57.000-0400 I fixed this issue in r7160.
-
Michelle D'Souza commented
2011-02-28T16:45:17.878-0500 Closing issues that were fixed in 1.1