1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00

Reword something in the toolbar

This commit is contained in:
Timur Ismagilov 2021-09-05 14:58:41 +03:00
parent fffddc5eff
commit a220ca2002
2 changed files with 18 additions and 18 deletions

View File

@ -12,25 +12,25 @@
onclick string onclick string
display string display string
}{ }{
{"link", "wrapLink()", "[[link]]"}, {"link", "wrapLink()", "[[Link]]"},
{"heading2", "insertHeading2()", "## heading"}, {"heading2", "insertHeading2()", "## Heading"},
{"heading3", "insertHeading3()", "### heading"}, {"heading3", "insertHeading3()", "### Heading"},
{"bold", "wrapBold()", "<b>**Bold**</b>"}, {"bold", "wrapBold()", "<b>**Bold**</b>"},
{"italic", "wrapItalic()", "<i>//Italic//</i>"}, {"italic", "wrapItalic()", "<i>//Italic//</i>"},
{"highlighted", "wrapHighlighted()", "<mark>++Highlight++</mark>"}, {"highlighted", "wrapHighlighted()", "<mark>++Highlight++</mark>"},
{"underline", "wrapUnderline()", "<u>__Underline__</u>"}, {"underline", "wrapUnderline()", "<u>__Underline__</u>"},
{"monospace", "wrapMonospace()", "<code>`Monospace`</code>"}, {"monospace", "wrapMonospace()", "<code>`Monospace`</code>"},
{"lifted", "wrapLifted()", "<sup>^^Lifted^^</sup>"}, {"lifted", "wrapLifted()", "<sup>^^Supertext^^</sup>"}, // inconsistent names: lifted, supertext. How cute ❤️
{"lowered", "wrapLowered()", "<sub>,,Lowered,,</sub>"}, {"lowered", "wrapLowered()", "<sub>,,Subtext,,</sub>"},
{"strikethrough", "wrapStrikethrough()", "<strike>~~Strikethrough~~</strike>"}, {"strikethrough", "wrapStrikethrough()", "<strike>~~Strikethrough~~</strike>"},
{"rocket", "insertRocket()", "=> rocketlink"}, {"rocket", "insertRocket()", "=> Rocketlink"},
{"xcl", "insertXcl()", "<= transclusion"}, {"xcl", "insertXcl()", "<= Transclusion"},
{"img", "insertImgBlock()", "<code>img {}</code>"}, {"img", "insertImgBlock()", "<code>img {}</code>"},
{"table", "insertTableBlock()", "<code>table {}</code>"}, {"table", "insertTableBlock()", "<code>table {}</code>"},
{"hr", "insertHorizontalBar()", "Horizontal bar"}, {"hr", "insertHorizontalBar()", "Horizontal bar"},
{"codeblock", "insertCodeblock()", "Code block"}, {"codeblock", "insertCodeblock()", "Code block"},
{"bulletedlist", "insertBulletedList()", "* bullet list"}, {"bulletedlist", "insertBulletedList()", "* Bullet list"},
{"numberedlist", "insertNumberedList()", "*. number list"}, {"numberedlist", "insertNumberedList()", "*. Number list"},
} %} } %}
<button <button
class="btn edit-toolbar__btn edit-toolbar__{%s el.class %}" class="btn edit-toolbar__btn edit-toolbar__{%s el.class %}"

View File

@ -40,25 +40,25 @@ func StreamToolbar(qw422016 *qt422016.Writer, u *user.User) {
onclick string onclick string
display string display string
}{ }{
{"link", "wrapLink()", "[[link]]"}, {"link", "wrapLink()", "[[Link]]"},
{"heading2", "insertHeading2()", "## heading"}, {"heading2", "insertHeading2()", "## Heading"},
{"heading3", "insertHeading3()", "### heading"}, {"heading3", "insertHeading3()", "### Heading"},
{"bold", "wrapBold()", "<b>**Bold**</b>"}, {"bold", "wrapBold()", "<b>**Bold**</b>"},
{"italic", "wrapItalic()", "<i>//Italic//</i>"}, {"italic", "wrapItalic()", "<i>//Italic//</i>"},
{"highlighted", "wrapHighlighted()", "<mark>++Highlight++</mark>"}, {"highlighted", "wrapHighlighted()", "<mark>++Highlight++</mark>"},
{"underline", "wrapUnderline()", "<u>__Underline__</u>"}, {"underline", "wrapUnderline()", "<u>__Underline__</u>"},
{"monospace", "wrapMonospace()", "<code>`Monospace`</code>"}, {"monospace", "wrapMonospace()", "<code>`Monospace`</code>"},
{"lifted", "wrapLifted()", "<sup>^^Lifted^^</sup>"}, {"lifted", "wrapLifted()", "<sup>^^Supertext^^</sup>"}, // inconsistent names: lifted, supertext. How cute ❤️
{"lowered", "wrapLowered()", "<sub>,,Lowered,,</sub>"}, {"lowered", "wrapLowered()", "<sub>,,Subtext,,</sub>"},
{"strikethrough", "wrapStrikethrough()", "<strike>~~Strikethrough~~</strike>"}, {"strikethrough", "wrapStrikethrough()", "<strike>~~Strikethrough~~</strike>"},
{"rocket", "insertRocket()", "=> rocketlink"}, {"rocket", "insertRocket()", "=> Rocketlink"},
{"xcl", "insertXcl()", "<= transclusion"}, {"xcl", "insertXcl()", "<= Transclusion"},
{"img", "insertImgBlock()", "<code>img {}</code>"}, {"img", "insertImgBlock()", "<code>img {}</code>"},
{"table", "insertTableBlock()", "<code>table {}</code>"}, {"table", "insertTableBlock()", "<code>table {}</code>"},
{"hr", "insertHorizontalBar()", "Horizontal bar"}, {"hr", "insertHorizontalBar()", "Horizontal bar"},
{"codeblock", "insertCodeblock()", "Code block"}, {"codeblock", "insertCodeblock()", "Code block"},
{"bulletedlist", "insertBulletedList()", "* bullet list"}, {"bulletedlist", "insertBulletedList()", "* Bullet list"},
{"numberedlist", "insertNumberedList()", "*. number list"}, {"numberedlist", "insertNumberedList()", "*. Number list"},
} { } {
//line views/mutators.qtpl:34 //line views/mutators.qtpl:34
qw422016.N().S(` qw422016.N().S(`