Added 'more' and 'n-page' quicktags
Patch supplied by otaku42 http://wordpress.org/support/5/180 http://sourceforge.net/tracker/index.php?func=detail&aid=821634&group_id=51422&atid=463235 git-svn-id: http://svn.automattic.com/wordpress/trunk@443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d1926294f5
commit
3950bcc422
|
@ -140,7 +140,21 @@ ed10.tagStart = '<pre>';
|
|||
ed10.tagEnd = '</pre>';
|
||||
ed10.access = '';
|
||||
|
||||
var edButtonCount = 11;
|
||||
var ed11 = new edButton();
|
||||
ed11.id = 'ed_more';
|
||||
ed11.display = 'more';
|
||||
ed11.tagStart = '<!--more-->';
|
||||
ed11.tagEnd = '';
|
||||
ed11.access = 't';
|
||||
|
||||
var ed12 = new edButton();
|
||||
ed12.id = 'ed_next';
|
||||
ed12.display = 'n-page';
|
||||
ed12.tagStart = '<!--nextpage-->';
|
||||
ed12.tagEnd = '';
|
||||
ed12.access = 'p';
|
||||
|
||||
var edButtonCount = 13;
|
||||
|
||||
function edShowButton(button, i) {
|
||||
if (button.id == 'ed_img') {
|
||||
|
|
Loading…
Reference in New Issue