Skip to content

Feature req addition of text formatting tools #15#67

Open
adithyen wants to merge 2 commits into
rspavithra:mainfrom
adithyen:Feature-Req-Addition-of-Text-Formatting-Tools-#15
Open

Feature req addition of text formatting tools #15#67
adithyen wants to merge 2 commits into
rspavithra:mainfrom
adithyen:Feature-Req-Addition-of-Text-Formatting-Tools-#15

Conversation

@adithyen
Copy link
Copy Markdown
Contributor

@adithyen adithyen commented Mar 1, 2026

📌 Description

Brief description of what this PR does.
This PR addresses Issue #15 by adding basic text formatting tools to the NoteStack application. It allows users to create notes with visual hierarchy and emphasis, making long notes easier to read.

🔗 Related Issue

Closes #15


🛠 Changes Made

-Added a formatting toolbar (Bold, Italic, Bullet List) above the note input in [index.html].

  • Converted the note input textarea to a contenteditable div in [index.html] to support rich-text HTML rendering.
  • Updated [script.js] to use document.execCommand() for formatting actions and to save/render innerHTML instead of plain text for notes.
  • Added styling for the new toolbar and contenteditable area in [style.css], including full support for Dark Mode.

📷 Screenshots (if applicable)

image image

✅ Checklist

  • I have tested my changes
  • My code follows project guidelines
  • I have linked the related issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Req: Addition of Text Formatting Tools

1 participant