Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.2.2
[ckeditor.git]
/
_source
/
plugins
/
pagebreak
/
plugin.js
diff --git
a/_source/plugins/pagebreak/plugin.js
b/_source/plugins/pagebreak/plugin.js
index
b73fbcf
..
3daef0c
100644
(file)
--- a/
_source/plugins/pagebreak/plugin.js
+++ b/
_source/plugins/pagebreak/plugin.js
@@
-32,7
+32,7
@@
CKEDITOR.plugins.add( 'pagebreak',
'clear: both;' +
\r
'display: block;' +
\r
'float: none;' +
\r
'clear: both;' +
\r
'display: block;' +
\r
'float: none;' +
\r
- 'width: 100%;' +
\r
+ 'width:100%;_width:99.9%;' +
\r
'border-top: #999999 1px dotted;' +
\r
'border-bottom: #999999 1px dotted;' +
\r
'height: 5px;' +
\r
'border-top: #999999 1px dotted;' +
\r
'border-bottom: #999999 1px dotted;' +
\r
'height: 5px;' +
\r
@@
-84,6
+84,8
@@
CKEDITOR.plugins.pagebreakCmd =
\r
var ranges = editor.getSelection().getRanges();
\r
\r
\r
var ranges = editor.getSelection().getRanges();
\r
\r
+ editor.fire( 'saveSnapshot' );
\r
+
\r
for ( var range, i = 0 ; i < ranges.length ; i++ )
\r
{
\r
range = ranges[ i ];
\r
for ( var range, i = 0 ; i < ranges.length ; i++ )
\r
{
\r
range = ranges[ i ];
\r
@@
-99,5
+101,7
@@
CKEDITOR.plugins.pagebreakCmd =
range.select();
\r
}
\r
}
\r
range.select();
\r
}
\r
}
\r
+
\r
+ editor.fire( 'saveSnapshot' );
\r
}
\r
};
\r
}
\r
};
\r