For detailed configuration, see reademe.html In the compressed package.
The compressed package is also a complete demo. For details, refer
:
The configuration of ckeditorand ckfinderin asp.net(custom click here, page shard .rar
Note: When the V2 and office2003 skins are used in IE8, if you drag the editor to change the size, a JS error will be reported (the Editor Version 3.4.1 on the official website is the same). Kama skin will not, therefore, we recommend that you use the default Kama skin, such as retaining this skin when streamlining the editor.
Update 1:
You need to use the text paging function, but find the plug-in you have added. The inserted tag is inserted into the P tag when you press Enter. IfArticleThere will be unclosed tags on pages, which may cause page layout problems. The fact is that ckeditor has a function that only inserts page tags (not inserted into the P tag)
I will directly use the built-in page label insertion function. Now I want to write a regular expression matching the inserted tag.CodeAs follows:
String Pattern =
@ "& Lt; Div \ s + style = & quot; page-break-after: \ s + always[;]?& Quot; & gt; \ s + & lt; span \ s + style = & quot; display: \ s + none[;]?& Quot; & gt; & amp; nbsp; & lt;/span & gt; & lt;/Div & gt ;";
// [;]? Style = "Page-break-after: Always;" is the most rigorous code inserted in chrome and ff. (Note that this Semicolon is not included in IE)
String [] contentarr = system. Text. regularexpressions. RegEx. Split (Httputility. htmlencode(This.txt newsconten. Text), pattern );
It is tested that there is no problem in chrome 7, FF, ie (8 ).
Update 2: Add editor Custom button
For details, see reademe.html and code of the downloaded file.