Skip to content

About

A modern, customizable, WCAG 2.1 AA/AAA compliant rich-text formatting toolbar for ServiceNow Work notes and Additional comments. Features smart paste sanitization, Markdown auto-lists, image embedding, and hyperlinks.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

ServiceNow Formatter

A modern, customizable, WCAG 2.1 Level AA/AAA compliant rich-text formatting toolbar for ServiceNow Work notes and Additional comments.

Built with Manifest V3, ServiceNow Formatter enhances standard ServiceNow journal fields with accessible formatting controls, smart paste sanitization, Markdown-style auto-lists, and a sleek settings popup for managing custom ServiceNow vanity domains.

ServiceNow Formatter Text Editor

Features

Rich-Text Journal Toolbar

  • Text Formatting: Bold (Ctrl+B), Italic (Ctrl+I), Underline (Ctrl+U), Strikethrough (Ctrl+Shift+S), and inline Code blocks (Ctrl+E).
  • Lists & Auto-Shortcuts: Bulleted lists (Ctrl+Shift+8 or type - ) and Numbered lists (Ctrl+Shift+7 or type 1. ) with Backspace undo support.
  • Smart Hyperlinks & Auto-Link: Insert or remove links (Ctrl+K) via an accessible modal with a locked https:// prefix, plus automatic URL linking when typing https://... followed by a space.
  • Web Image Insertion: Embed responsive images (Ctrl+Shift+I) supporting both standard extensions (.png, .jpg, .webp, .gif, .svg, .avif) and extensionless CDN/gstatic image URLs.
  • Smart Paste Sanitization: Cleans pasted rich text from external docs/websites to match your ServiceNow theme while preserving callout boxes, tables, and lists—or switch to Plain Text Only mode.

WCAG 2.1 Level AA / AAA Accessibility

  • High-Contrast Color Profiles: Switch between WCAG AA (7:1+ contrast) and WCAG AAA (10:1+ contrast) paired background/foreground highlight palettes (Yellow, Red, Blue) that remain legible in both Light and Dark ServiceNow themes.
  • Mandatory Image Alt Text (WCAG 1.1.1): Enforces descriptive screen-reader alt text before inserting images (configurable in settings).
  • Full Keyboard Navigation: WAI-ARIA roving tabindex (Left/Right arrow keys across toolbar buttons) and high-visibility 3px focus rings.
  • Assistive Technology Support: aria-live="polite" status announcements (WCAG 4.1.3) and hover/focus/Escape-dismissible shortcut tooltips (WCAG 1.4.13).

Customizability & Domain Management

  • Custom Instance Manager: Add, edit, or remove custom ServiceNow vanity URLs directly from the extension popup using Manifest V3 dynamic content script registration.
  • Appearance & Typography: Customize button styles (Icons + Text, Icons Only, Text Only), toolbar density, corner roundness, base font size, line spacing, minimum box height, and left-border accent colors.
  • Portable Profiles: Export and import your configuration as a .json file to share standardized team setups.

ServiceNow Instance Requirement

ServiceNow Formatter wraps formatted HTML in [code]...[/code] tags so it renders natively inside ServiceNow's Activity Stream. For [code] tags to render as rich HTML rather than plain text, your ServiceNow instance must have the following system property enabled:

  • System Property: glide.ui.security.allow_codetag = true (enabled by default on most ServiceNow instances)

Installation

Option 1: Chrome Web Store (Chrome & Microsoft Edge)

  1. Visit the ServiceNow Formatter listing on the Chrome Web Store (link coming soon).
  2. Click Add to Chrome (or Get in Microsoft Edge).
  3. Open any ServiceNow record and start formatting Work notes or Additional comments.

Option 2: Manual Installation (Developer Mode)

  1. Clone or download this repository:

    git clone https://github.com/Kyro25/ServiceNow-Formatter.git
    
  2. Open chrome://extensions (or edge://extensions) in your browser.

  3. Enable Developer mode in the top-right corner.

  4. Click Load unpacked and select the folder containing manifest.json.

About

A modern, customizable, WCAG 2.1 AA/AAA compliant rich-text formatting toolbar for ServiceNow Work notes and Additional comments. Features smart paste sanitization, Markdown auto-lists, image embedding, and hyperlinks.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages