Enable markdown by default
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
c828dfd596
commit
f310196937
2 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@ function DrawerHeader({ selectedTab, spaceId }) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
openReusableContextMenu(
|
openReusableContextMenu(
|
||||||
'bottom',
|
'bottom',
|
||||||
getEventCords(e, '.drawer-header__btn'),
|
getEventCords(e, '.header'),
|
||||||
(closeMenu) => <SpaceOptions roomId={spaceId} afterOptionSelect={closeMenu} />,
|
(closeMenu) => <SpaceOptions roomId={spaceId} afterOptionSelect={closeMenu} />,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -79,8 +79,8 @@ class Settings extends EventEmitter {
|
||||||
if (typeof this.isMarkdown === 'boolean') return this.isMarkdown;
|
if (typeof this.isMarkdown === 'boolean') return this.isMarkdown;
|
||||||
|
|
||||||
const settings = getSettings();
|
const settings = getSettings();
|
||||||
if (settings === null) return false;
|
if (settings === null) return true;
|
||||||
if (typeof settings.isMarkdown === 'undefined') return false;
|
if (typeof settings.isMarkdown === 'undefined') return true;
|
||||||
return settings.isMarkdown;
|
return settings.isMarkdown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue