8
0
Oskar Wróbel 7 лет назад
Родитель
Сommit
e110e58fa3
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      packages/ckeditor5-core/src/pendingactions.js

+ 3 - 0
packages/ckeditor5-core/src/pendingactions.js

@@ -76,7 +76,10 @@ export default class PendingActions extends Plugin {
 	/**
 	 * Adds action to the list of pending actions.
 	 *
+	 * Methods returns an object with observable message property. Message can be changed.
+	 *
 	 * @param {String} message
+	 * @returns {Object} Observable object that represents a pending action.
 	 */
 	add( message ) {
 		if ( typeof message !== 'string' ) {