more README updates
This commit is contained in:
parent
3873243a0f
commit
03955fdddd
2 changed files with 18 additions and 7 deletions
19
README.md
19
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.
|
||||
<p>
|
||||
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. </p>
|
||||
|
||||
If you're on safari browsers, try visiting the webpage then tapping on the arrow
|
||||
<p>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.</p>
|
||||
|
||||
<p>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</p>
|
||||
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
<ul><li>refactor</li></ul>
|
||||
<ul>
|
||||
<li>refactor</li>
|
||||
<li>refactor</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue