diff --git a/README.md b/README.md index 6e1209d..95bf94b 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,27 @@ # Personal Microclient -This is an installable personal website that is accessisible through chrome-based and firefox browsers. The website is built with PWA Builder and Lit Web Components. It utilizes the Nostr -protocol to connect to my personal relay for fetching recent notes as well as kind 0 notes AKA profile metadata. +

+Aren't you tired of distracting social media platforms? +So many buttons and advertising makes a simple task of sending notes ot your +friends very draining.

-If you're on safari browsers, try visiting the webpage then tapping on the arrow +

This is an installable personal website that is accessisible through chrome-based and firefox browsers. The website is built with PWA Builder and Lit Web Components. It utilizes the Nostr +protocol to connect to my personal relay for fetching recent notes as well as kind 0 notes AKA profile metadata.

+ +

If you're on safari browsers, try visiting the webpage then tapping on the arrow pointing up in the bottom toolbar. Scroll down a bit to tap on "Add to Home Screen". -If you're on a chromium-based browser you should be able to do the same +If you're on a chromium-based browser you should be able to do the same

# TODO - + diff --git a/src/components/menu-plugin.ts b/src/components/menu-plugin.ts index 8ae3539..b9c70f4 100644 --- a/src/components/menu-plugin.ts +++ b/src/components/menu-plugin.ts @@ -2,8 +2,10 @@ import { MenuItem } from "prosemirror-menu"; import { menuBar } from "prosemirror-menu"; import { toggleMark } from "prosemirror-commands"; -import { Plugin } from "prosemirror-state"; +import { Plugin, PluginKey } from "prosemirror-state"; + +const menuPluginKey = new PluginKey('menuPlugin') // Modify the menuBar function to accept customSchema as a parameter export function createMenuPlugin(customSchema: any) { const boldButton = new MenuItem({ @@ -27,6 +29,6 @@ export function createMenuPlugin(customSchema: any) { floating: true, }); return new Plugin({ - + key: menuPluginKey }) }