Add some component comment (#1779)
* Add a component comment for NoteEditor * Move comments above component template * EditorField -> EditingArea
This commit is contained in:
parent
adbe96ca00
commit
cf78a555c6
@ -18,6 +18,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
}
|
||||
</script>
|
||||
|
||||
<!--
|
||||
@component
|
||||
Allows "focusing" an EditingArea, even though it has no open editing inputs.
|
||||
-->
|
||||
<input bind:this={input} class="focus-trap" readonly tabindex="-1" on:focus />
|
||||
|
||||
<style lang="scss">
|
||||
|
@ -273,6 +273,14 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
setupLifecycleHooks(api);
|
||||
</script>
|
||||
|
||||
<!--
|
||||
@component
|
||||
Serves as a pre-slotted convenience component which combines all the common
|
||||
components and functionality for general note editing.
|
||||
|
||||
Functionality exclusive to specifc note-editing views (e.g. in the browser or
|
||||
the AddCards dialog) should be implemented in the user of this component.
|
||||
-->
|
||||
<div class="note-editor">
|
||||
<FieldsEditor>
|
||||
<EditorToolbar {size} {wrap} api={toolbar}>
|
||||
|
Loading…
Reference in New Issue
Block a user