Attempt to fix contenteditable dropping breaks

This commit is contained in:
Jonathan Staab 2023-06-05 05:55:07 -07:00
parent fc39a60805
commit 381e368f1b
3 changed files with 10 additions and 11 deletions

View File

@ -1,17 +1,8 @@
# Current
- [ ] Use vida to stream development
- [ ] Add root/reply to notifications, group by parent too maybe?
- [ ] Private groups using nsec bunker
- [ ] Fix connection management stuff. Have GPT help
- [ ] Add zap splits https://github.com/nostr-protocol/nips/pull/552
- [ ] Integrate simplex sharing? https://simplex.chat/docs/guide/readme.html
- [ ] Add threads - replies by self get shown at the top of replies?
- [ ] Fix rich text -> plain text using library
- [ ] Highlights
- Allow highlighting text in notes
- When something is highlighted, show fixed-position elements for adding highlights
- When a note is "selected" (what does that mean, on hover?), show annotations
- [ ] Relay reviews
- New kind, d as url? Combine with labeling?
- Show reviews in relay detail rather than events. Warn about events tab
@ -26,11 +17,19 @@
- [ ] Avoid leaking events from private relays
- [ ] Image classification
- https://github.com/bhky/opennsfw2
- [ ] Private groups using nsec bunker
# Core
- [ ] Make mutes private
- [ ] Support nip 94
- [ ] Highlights
- Allow highlighting text in notes
- When something is highlighted, show fixed-position elements for adding highlights
- When a note is "selected" (what does that mean, on hover?), show annotations
- [ ] Add zap splits https://github.com/nostr-protocol/nips/pull/552
- [ ] Integrate simplex sharing? https://simplex.chat/docs/guide/readme.html
- [ ] Support nip 94, highlights, long form
- [ ] Add root/reply to notifications, group by parent too maybe?
- [ ] Show trending on search page http://localhost:5173/nevent1qqs8m3f52uelvpan4nn9hmc99a4qde0gjq9mlxc2khu057nryk3879gpr4mhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet5qyv8wumn8ghj7un9d3shjtnndehhyapwwdhkx6tpdstjvu0y
- [ ] Add welcome.nostr.wine relay to onboarding
- http://localhost:5173/nevent1qqsp9vf7agqyl7swhwepjw0r9s8ny55vsxkljh62pn0uh6f2g9z7a2qpr3mhxue69uhkummnw3ezuarjw43kketwvf6kx6mn9e3k7mgpyfmhxue69uhkummnw3ez6an9wf5kv6t9vsh8wetvd3hhyer9wghxuet5nds9yj

BIN
package-lock.json generated

Binary file not shown.

View File

@ -60,7 +60,7 @@
content += "\n"
}
if (child.tagName === "DIV" && !child.querySelector("br")) {
if (child.tagName === "DIV" && child.children[0]?.tagName === "BR") {
content += "\n"
}