Enable markdown by default

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-01-29 19:54:39 +05:30
parent c828dfd596
commit f310196937
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ function DrawerHeader({ selectedTab, spaceId }) {
e.preventDefault();
openReusableContextMenu(
'bottom',
getEventCords(e, '.drawer-header__btn'),
getEventCords(e, '.header'),
(closeMenu) => <SpaceOptions roomId={spaceId} afterOptionSelect={closeMenu} />,
);
};

View file

@ -79,8 +79,8 @@ class Settings extends EventEmitter {
if (typeof this.isMarkdown === 'boolean') return this.isMarkdown;
const settings = getSettings();
if (settings === null) return false;
if (typeof settings.isMarkdown === 'undefined') return false;
if (settings === null) return true;
if (typeof settings.isMarkdown === 'undefined') return true;
return settings.isMarkdown;
}