1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! The rich text editor of [`FieldKind::Wysiwyg`](crate::FieldKind::Wysiwyg) fields.
//!
//! Ignite is MIT licensed and bundles no editor. The panel renders a wysiwyg field as a
//! `<textarea data-ignite-editor="wysiwyg">` holding the HTML, and, when the app has
//! registered an editor script, loads it on each form that has such a field. The script
//! turns each marked textarea into an editor and keeps the textarea's value up to date, so
//! the form submits the HTML as usual.
//!
//! ```ignore
//! registries.register_editor("/vendor/editor/init.js");
//! ```
use PoisonError;
use crateRegistries;
/// Sets the editor script of the default app, as 0.7.1 did. See
/// [`Registries::register_editor`](crate::Registries::register_editor).
/// The editor script of the default app. See
/// [`Registries::editor_script`](crate::Registries::editor_script).