Skip to content

Releases: php-collective/wp-djot

1.1.0

05 Dec 04:07

Choose a tag to compare

Improvements

New Features

  • Comment Formatting Toolbar - Users can now format comments using a toolbar with buttons for Bold, Italic, Code, Link, Quote, and Code Block
  • Write/Preview Tabs - Comment toolbar includes a Preview tab that renders Djot content via REST API before submitting
  • Syntax Highlighting in Preview - Code blocks in comment preview are highlighted using highlight.js
  • Add keyboard shortcuts and ESC to exit preview
  • Markdown snippet importer
  • Table generator (col x row) and format table functionality (auto-alignment)

Improvements

  • Archive Page Excerpts - Properly render Djot content as excerpts on homepage, category, tag, and other archive pages
  • Gutenberg Block Excerpts - Extract and render Djot content from Gutenberg blocks for archive page excerpts
  • "Read More" Links - Fixed archive pages to properly show excerpts with "Read more" links instead of raw Djot/block markup

Bug Fixes

  • Fixed tab hover styles to properly override theme button styles
  • Fixed quote button to insert newline before blockquote when not at start of line

Full Changelog: 1.0.0...1.1.0

1.0.0

04 Dec 20:11
3cad2e1

Choose a tag to compare

Stable release

  • Add configurable content profiles for posts and comments

Full Changelog: 0.1.0...1.0.0

0.1.0

30 Nov 04:46
145ffb8

Choose a tag to compare

Initial Release

A WordPress plugin bringing Djot markup language support to your site.

Key Features

  • Gutenberg Block - Native block editor support with live preview
  • Shortcode - [djot]...[/djot] for classic editor users
  • Content Filtering - Auto-process {djot}...{/djot} in posts/pages
  • Syntax Highlighting - Built-in highlight.js with multiple themes
  • Safe Mode - XSS protection for untrusted content (comments)
  • WP-CLI Migration - Migrate HTML/Markdown content to Djot with rollback support
  • Template Tags - djot_to_html() and the_djot() for theme developers
  • Dark Mode - Automatic CSS adaptation

Full Changelog: https://github.com/php-collective/wp-djot/commits/0.1.0