As you may know, the placeholder plugin allows you to enter "placeholders," which are formatted as text encapsulated in double square brackets, like this: [[Placeholder]]. These can have any virtually any value inside the brackets, are highlighted with a yellow background in the editor, and the whole unit is selected when you click on it in the editor.
The problem I've run into is simple. If you either type in a placeholder manually or use the JavaScript InsertHtml() command to add one, the new placeholder does not get parsed. (I'm mostly concerned about the latter case.) So it will appear to be nothing more than regular text--not highlighted in yellow, clickable, or anything. However, if you click the HTML Source button and then immediately press "OK" (without making any further changes), FCK will then parse the new placeholder and highlight it appropriately. But I'm wondering if there's any command I can call in tandem with InsertHtml() to effectively "refresh" the editor window and parse any new placeholders I just inserted. Does such a command exist?
The problem I've run into is simple. If you either type in a placeholder manually or use the JavaScript InsertHtml() command to add one, the new placeholder does not get parsed. (I'm mostly concerned about the latter case.) So it will appear to be nothing more than regular text--not highlighted in yellow, clickable, or anything. However, if you click the HTML Source button and then immediately press "OK" (without making any further changes), FCK will then parse the new placeholder and highlight it appropriately. But I'm wondering if there's any command I can call in tandem with InsertHtml() to effectively "refresh" the editor window and parse any new placeholders I just inserted. Does such a command exist?