In the pervious version of the RadEditor, one could check if the user had clicked the OK button to insert code as follow:
How does one do this in 'Prometheus for ASP.NET'?
| <script type="text/javascript"> |
| var originalRadEditorFormatCodeBlock = RadEditorNamespace.radEditorFormatCodeBlock; |
| RadEditorNamespace.radEditorFormatCodeBlock = function(returnValue, params) |
| { |
| if (returnValue != undefined) |
| { |
| // <snip> |
| originalRadEditorFormatCodeBlock(returnValue, params); |
| } |
| }; |
| </script> |
How does one do this in 'Prometheus for ASP.NET'?
