Jelajahi Sumber

Docs: Added missing documentation for link.ui.LinkFormView#cancel and link.ui.LinkFormView#unlink events.

Aleksander Nowodzinski 9 tahun lalu
induk
melakukan
1fedec0a4e
1 mengubah file dengan 12 tambahan dan 0 penghapusan
  1. 12 0
      packages/ckeditor5-link/src/ui/linkformview.js

+ 12 - 0
packages/ckeditor5-link/src/ui/linkformview.js

@@ -146,3 +146,15 @@ export default class LinkFormView extends View {
  *
  * @event link.ui.LinkFormView#submit
  */
+
+/**
+ * Fired when the form view is canceled, e.g. click on {@link link.ui.LinkFormView#cancelButtonView}.
+ *
+ * @event link.ui.LinkFormView#cancel
+ */
+
+/**
+ * Fired when the {@link link.ui.LinkFormView#unlinkButtonView} is clicked.
+ *
+ * @event link.ui.LinkFormView#unlink
+ */