Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add indent and outdent

ammarahm-edcdf38bf5bf9f
diff --git a/apps/mobile/src/views/Editor/tiny/toolbar/config.js b/apps/mobile/src/views/Editor/tiny/toolbar/config.js
index 128d0bcf8..7a847f3dd 100644
--- a/apps/mobile/src/views/Editor/tiny/toolbar/config.js
+++ b/apps/mobile/src/views/Editor/tiny/toolbar/config.js
@@ -261,6 +261,19 @@ export const TOOLBAR_CONFIG = [
},
],
[
+ {
+ format: 'outdent',
+ type: 'format',
+ fullname: 'Outdent',
+ premium: true,
+ },
+ {
+ format: 'indent',
+ type: 'format',
+ premium: true,
+ fullname: 'Indent',
+ },
+
{
format: 'superscript',
type: 'format',
@@ -282,14 +295,14 @@ export const TOOLBAR_CONFIG = [
],
[
{
- format: 'rtl',
+ format: 'ltr',
type: 'format',
- fullname: 'Text Direction RTL',
+ fullname: 'Text Direction LTR',
},
{
- format: 'ltr',
+ format: 'rtl',
type: 'format',
- fullname: 'Text Direction LTR',
+ fullname: 'Text Direction RTL',
},
],
[