Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text #759

Open
21 tasks
atulbhatt-system32 opened this issue Apr 15, 2024 · 0 comments
Open
21 tasks

Text #759

atulbhatt-system32 opened this issue Apr 15, 2024 · 0 comments

Comments

@atulbhatt-system32
Copy link
Contributor

atulbhatt-system32 commented Apr 15, 2024

  • double-clicking a "text and formatting" element enables editing (no extra clicks needed).
  • pressing "t" activates text editing mode.
  • clicking outside the bounding box exits text editing and selects a new element.
  • pressing "t" while editing text types "t" instead of toggling the mode.
  • pressing esc exits text mode but keeps the element selected.
  • empty text elements auto-remove when exiting text mode (see figma).
  • cmd + shift + v pastes as plain text.
  • cmd + shift + v in selection mode wraps text in a <span>.
  • cmd + v pastes formatted text into valid "text and formatting" elements.
  • unsupported formats do not break functionality.
  • markdown pasting processes supported formats properly.
  • long text previews with "..." (one line only).
  • hovering over text triggers a visual indicator (underline, see figma).
  • clicking outside or pressing esc selects the previous or parent element.
  • unsupported text formats are ignored globally.
  • text elements always appear in the sidebar, even inside h1 elements.
  • sidebar shows a text preview instead of the "text" icon.
  • invalid text elements are ignored and auto-fixed.
  • new text nodes should be content-editable immediately.
  • empty text elements remove themselves when exiting editing mode.
  • fallback selection logic ensures another element is selected when needed.
@atulbhatt-system32 atulbhatt-system32 converted this from a draft issue Apr 15, 2024
@atulbhatt-system32 atulbhatt-system32 self-assigned this Apr 15, 2024
@atulbhatt-system32 atulbhatt-system32 added the enhancement New feature or request label Apr 15, 2024
@atulbhatt-system32 atulbhatt-system32 added new feature and removed enhancement New feature or request labels Apr 15, 2024
@edenvidal edenvidal changed the title Implement "T" or Text editing mode Text Apr 16, 2024
@edenvidal edenvidal moved this from Next Up to Idea in rnbw 0.1 Dec 19, 2024
@edenvidal edenvidal moved this from Idea to Next Up in rnbw 0.1 Dec 22, 2024
@weareunderdesign weareunderdesign deleted a comment from kareem-g Jan 29, 2025
@weareunderdesign weareunderdesign deleted a comment from kareem-g Jan 29, 2025
@edenvidal edenvidal moved this from Next Up to Idea in rnbw 0.1 Feb 3, 2025
@weareunderdesign weareunderdesign deleted a comment from ummartoor Feb 8, 2025
@weareunderdesign weareunderdesign deleted a comment from ummartoor Feb 8, 2025
@weareunderdesign weareunderdesign deleted a comment from findsah Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Idea
Development

No branches or pull requests

4 participants