Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-08-12 20:41:41 +0300
committerJulius Härtl <jus@bitgrid.net>2020-08-13 08:58:35 +0300
commitd03c65ad938402c827138812b2347b3976894663 (patch)
tree813b9c0e0e921e705360431d892d337cdc76feb6 /src
parent68c2dbd34b34794b8f53fd657718b1ac05664a89 (diff)
cleanup: remove confusing paragraph button
fixes #353. The paragraph button was confusing for a number of reasons: * it only acts on headings * the symbol indicates a line break rather than the removal of formatting * there are other ways to turn headings back to normal text * all other formatting is removed by clicking the same button again Signed-off-by: Azul <azul@riseup.net>
Diffstat (limited to 'src')
-rw-r--r--src/mixins/menubar.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mixins/menubar.js b/src/mixins/menubar.js
index 2903f2f7b..bd4380797 100644
--- a/src/mixins/menubar.js
+++ b/src/mixins/menubar.js
@@ -58,14 +58,6 @@ export default [
},
},
{
- label: t('text', 'Paragraph'),
- class: 'icon-paragraph',
- isActive: (isActive) => {},
- action: (command) => {
- return command.paragraph()
- },
- },
- {
label: t('text', 'Headings'),
visible: false,
children: [