* docs: new help built with vitepress.
* docs: improve docs home ui
Added a Go to Docs button on homepage
Added a searchbar for directly searching what you are looking for in the docs
* docs(help): wire up with build system & setup proper ci
* Clean up new documentation (#10174)
* Docs: Cleanup pass 1
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
* docs: cleanup pass 2
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
* docs: Fix vscode's manglement that I missed.
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
* Update docs/help/contents/plans-and-limits.md
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
* Update docs/help/contents/rich-text-editor/outline-lists.md
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
* docs: Remove self-hosting guide from sidebar, and comments for reviewer.
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
---------
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
* docs: some fixes
* ci: do not publish help on push
* docs(help): improve regional pricing & free trials
* docs: improve sidebar
* docs: some more fixes after re-review
* docs: improve search and nav
* docs: a few more fixes
* docs: fix tabs formatting compat with prettier
* docs: fix tabs formatting in various places
* docs: show correct plus button image for mobile
* docs: disable notesnook self hosting docs
* docs: update help docs with fixes
---------
Signed-off-by: Chloe Oletto <NeedsChloesure@riseup.net>
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
Co-authored-by: Chloe Oletto <NeedsChloesure@riseup.net>
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
- Improve drag/drop reliability be increasing the hit slop area for starting the drag.
- Ensure drag survives between rerenders
- Add a solid background to dragged item so it doesn't conflict with items underneath it
Ensure that we remove any styles added to deep links. This is done especially for iOS where pasted link html get's wrapped into custom div with some hard coded styles making the link not match style with the rest of content.
* editor: allow any width/height value in EmbedSizeOptions when inserting embeds
* editor: only accept valid url as value
* editor: allow embeding normal website urls
* editor: check url if embedSource=url
* editor: use defaultValue prop for width/height
* editor: expand callout on search scroll if search text inside callout
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
* editor: expand outline list && headings on search scroll
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
* editor: expand parents & scroll into view on type
* editor: fix parents expanding on every transaction
* editor: add a small debounce to delay search
* editor: fix editor not scrolling to selected search result
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
* editor: make editor tools object a function
Required for string localization to work properly
* mobile: fix tools and groups do not re-render properly on changing preset or adding tools
* mobile: fix empty toast message shows on removing tools from group
this includes fixes to multiple UX bugs:
1. scroll now stops when user starts cell selection
2. moving cell selection to either edge auto scrolls the table
3. text selection does not trigger cell selection
* Initial plan
* fix: compute heading offsets relative to editor root for correct TOC highlighting
Headings inside callout blocks had incorrect `offsetTop` values because
`offsetTop` is relative to the nearest positioned ancestor (the callout),
not the editor root. This caused the TOC to highlight wrong sections.
Fix: walk the `offsetParent` chain from the heading up to the editor
content element, accumulating `offsetTop` values to get the correct
absolute position within the editor.
Co-authored-by: thecodrr <7473959+thecodrr@users.noreply.github.com>
* editor: ignore callouts from toc
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thecodrr <7473959+thecodrr@users.noreply.github.com>
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>