Hi CTietgen,
You can catch the page break command and change it to your own logic, like the example below. It will insert the <div>- Page Break -</div> when you click on the page break button.
- <%@ Page Language="C#" %>
-
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
-
-
- <html>
- <head>
- <title>example </title>
- </head>
- <body>
- <form id="Form1" runat="server">
- <CE:Editor ID="Editor1" runat="server">
- </CE:Editor>
- <script type="text/javascript">
- function CuteEditor_OnCommand(editor,command,ui,value)
- {
-
- if(command=="InsertPageBreak")
- {
- editor.PasteHTML("<div>- Page Break -</div>");
- return true;
- }
- }
- </script>
- </form>
- </body>
- </html>
Regards,
Ken