Skip to content

Commit 0b97fc7

Browse files
committed
Add since tags in doc strs for undo#lock/unlock.
1 parent b0ea460 commit 0b97fc7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plugins/undo/plugin.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
*
140140
* See {@link CKEDITOR.plugins.undo.UndoManager#lock} for more details.
141141
*
142+
* @since 4.0
142143
* @event lockSnapshot
143144
* @member CKEDITOR.editor
144145
* @param {CKEDITOR.editor} editor This editor instance.
@@ -148,6 +149,7 @@
148149
/**
149150
* Unlock manager and update latest snapshot.
150151
*
152+
* @since 4.0
151153
* @event unlockSnapshot
152154
* @member CKEDITOR.editor
153155
* @param {CKEDITOR.editor} editor This editor instance.
@@ -562,6 +564,8 @@
562564
* after the {@link #unlock} method is called.
563565
*
564566
* It's mainly used for ensure any DOM operations that shouldn't be recorded (e.g. auto paragraphing).
567+
*
568+
* @since 4.0
565569
*/
566570
lock: function() {
567571
if ( !this.locked ) {
@@ -580,6 +584,8 @@
580584
* Unlock the snapshot stack and check to amend the last snapshot.
581585
*
582586
* See {@link #lock} for more details.
587+
*
588+
* @since 4.0
583589
*/
584590
unlock: function() {
585591
if ( this.locked ) {

0 commit comments

Comments
 (0)