Skip to main content

CODE_EDITOR_ASSETS

Constant CODE_EDITOR_ASSETS 

Source
pub const CODE_EDITOR_ASSETS: &[&str];
Expand description

The assets a code surface needs on its page: the CodeMirror engine built by scripts/editor, the island that mounts it over a textarea, and its stylesheet. The codeeditor field declares them itself; a contributed screen that writes the widget’s markup by hand passes them to PageHead::assets.