Hello,
I've been looking at a trial version of the Prometheus RadEditor and am rather impressed by its functionality. It seems to do everything my company requires.
However, I've run into a strange problem with the createRestorePoint-method.When used in a table, it jumps to the next cell.
To recreate the problem, create a button that does the following (replace the editor-id obviously :-) ):
{
restorePoint = $find('<%=RadEditor.ClientID%>').createRestorePoint();
restorePoint.select();
}
When this code is fired when the cursor is in a table cell, the cursor moves to the next cell!
I have noticed that your tables always contain a non-breaking space character ( ) in every empty cell. When the cursor is on the right side of this character it moves to the next cell, when on the left, it stays where it is. Very strange... The problem is not limited to these empty cells, though.
Also, when this code is used outside a table, the cursor will often jump two lines down.
Any idea what causes this behavior?
Oh, and one more question: Any way to disable the resize-functionality of the editor-window?
Thanks in advance!
Regards
TJ
I've been looking at a trial version of the Prometheus RadEditor and am rather impressed by its functionality. It seems to do everything my company requires.
However, I've run into a strange problem with the createRestorePoint-method.When used in a table, it jumps to the next cell.
To recreate the problem, create a button that does the following (replace the editor-id obviously :-) ):
{
restorePoint = $find('<%=RadEditor.ClientID%>').createRestorePoint();
restorePoint.select();
}
When this code is fired when the cursor is in a table cell, the cursor moves to the next cell!
I have noticed that your tables always contain a non-breaking space character ( ) in every empty cell. When the cursor is on the right side of this character it moves to the next cell, when on the left, it stays where it is. Very strange... The problem is not limited to these empty cells, though.
Also, when this code is used outside a table, the cursor will often jump two lines down.
Any idea what causes this behavior?
Oh, and one more question: Any way to disable the resize-functionality of the editor-window?
Thanks in advance!
Regards
TJ
