Hello,
I am trying to add a button to a RadEditor in Sitecore 6.4 that will open up a dialog when clicked. The button is displaying correctly, but I get an error when the button is clicked. An alert pops up saying "The command EmbedBrightcoveVideo is not implemented yet."
I have added the following code to /sitecore/shell/Controls/Rich Text Editor/RichText Commands.js, which is what I thought was all I had to do to get it to work...
The JavaScript never fires. I don't seem to be getting any JavaScript errors either. Any ideas as to what could be wrong?
Thanks a lot.
I am trying to add a button to a RadEditor in Sitecore 6.4 that will open up a dialog when clicked. The button is displaying correctly, but I get an error when the button is clicked. An alert pops up saying "The command EmbedBrightcoveVideo is not implemented yet."
I have added the following code to /sitecore/shell/Controls/Rich Text Editor/RichText Commands.js, which is what I thought was all I had to do to get it to work...
RadEditorCommandList[
"EmbedBrightcoveVideo"
] =
function
(commandName, editor, tool) {
alert(
'EmbedBrightcoveVideo fired.'
);
}
The JavaScript never fires. I don't seem to be getting any JavaScript errors either. Any ideas as to what could be wrong?
Thanks a lot.