Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Quill Delta Parser Laravel Package

nadar/quill-delta-parser

Parse Quill editor Delta JSON (ops) into safe, sanitized HTML in PHP. Simple Lexer API to render output from arrays or JSON strings, with a consistent parsing mechanism and hooks to extend/customize elements and attributes.

View on GitHub
Deep Wiki
Context7
3.5.0
  • #96 Addded HTML rendering for lists with type "checked" and "unchecked".
3.4.2
  • #87 Fixed a bug where a line break preceding a list containing inline attributes results in improper HTML formatting for next paragraphs.
3.4.1
  • #84 Allow align left as possible value.
3.4.0

Please be aware that this release may impact the way Quill data is displayed in your frontend. Checkout the upgrade document for more details.

  • #80 Add missing background color listener (In this update, we have introduced a change where background color information from Quill JSON is now extracted and applied as the background color. This change may result in unexpected behavior if you had background color information present in your documents but it was not rendered correctly in previous versions. see upgrade document
3.3.1
  • #78 Fixed a bug where lists with empty contents would break all output.
3.3.0
  • #77 Allow method chaining for registerListener() and overwriteListener().
  • #76 Addded php 8.2 for unit tests
3.2.1
  • #74 Fixed missing support for nested lists
  • #73 More automation and testing with rector and auto commit on PR's for csfixer and rector.
3.2.0
  • #71 Added image width and height attributes to the image tag if available.
  • #72 Raised from phpstan level 5 to 6
3.1.0
  • #68 Deprecated the magical getter $pick->$name in nadar\quill\Pick class, use $pick->optionValue($name) instead.
  • #64 Replaced deprecated public $input property in Line with getter and setter methods getLine() and setLine($input).
  • #63 Removed deprecated methods loadBuiltinListeneres() and renderListeneres().
  • #62 Prettify the html output a little by adding newlines after every block level element. If you have custom listeners which call BlockListener->wrapElement() this will be added for your custom listeners as well, otherwise you'll need to add the newlines yourself.
3.0.0

This release contains breaks which might affect your application. Checkout the upgrade document for more details.

  • #60 Changed the behavior of nadar\quill\listener\Link. Property $wrapper has been removed and replaced by $wrapperOpen, $wrapperMiddle and $wrapperClose.
  • #61 Official dropped PHP 7.1 support added PHP 8.1 instead.
2.9.0
  • #58 Renamed misspelled method loadBuiltinListeneres() to loadBuiltinListeners() and renderListeneres() to renderListeners(). The old methods are still available for backwards compatibility, but deprecated and will be removed in 3.0.
2.8.0
  • #56 Provide new method to override existing listeners with overwriteListener().
2.7.2
  • #53 Lists listener, check for type being an array for compatibility with Vanilla Forums.
2.7.1
  • #51 Fixed issue where images wrapped in italics renders as text instead of showing the image.
2.7.0
  • #49 Added Code Block Listener, generates <pre><code>...</code></pre> enclosed output.
2.6.1
  • #48 PHP 8 compatibility.
2.6.0
  • #42 Added PHP 8 Support.
  • #43 Moved CI from Travis to GitHub Actions. Added PHP 8 version in Test Scenario.
2.5.0
  • #41 Add option to configure Embed Video allow option.
2.4.0
  • #32 Added new wrapElement method to simplify building block listeners.
  • #30 List opening tag process has been simplified in order to support single bullet lists.
  • #31 Add support for align attribute.
2.3.0
  • Add override functionality to links, allowing to customise their wrapper.
2.2.0
  • Add inline element to handle script attribute.
2.1.1
  • #25 Ensure that empty heading listeners won't destroy all upcoming elements.
2.1.0
  • #23 Add inline element to handle font attribute.
2.0.0

This release contains breaks which might affect your application. Checkout the upgrade document for more details.

  • #18 Enable escapeInput option by default in order to increase security.
1.3.2
  • #13 Fixed bug when lists are interrupted with block level elements (e.g. videos)
  • #16 Fixed bug with sorting index of inline elements when using prepend.
  • #15 Fixed bug when header contains (partial) formatting and line before header contains formatting
1.3.1
  • #12 Fixed bug when using quill parser on windows platforms.
1.3.0
  • Added new debugInfo option for lines
  • Added new behavior for hasNewline (which is now more consistent according to delta input)
  • #8 Fixed issue with UL/OL list elements if only one element is inside the list.
1.2.0
  • #7 Makes sure input and attributes from delta is escaped before mixing it with html. Listeners should use $line->getInput() instead of $line->input to read input. This will properly escape if it is not done already. Values from attributes should be passed through $line->getLexer()->escape(). See the Color listener for an example of both. Obviously, escaping should be skipped in case a listener is meant to output raw html.
1.1.1
  • #6 Fixed bug in exception messaged. Added unit tests and improved message.
1.1.0
  • #5 Fixed a bug where paragraphs with attributes where not rendered (color attribute). Added new parameter to disable the rendering of attributes.
1.0.2
  • Added Image-Tag for image output.
1.0.1
  • Improve Video-Tag output (Remove frameborder, use youtube embed code allow tag).
1.0.0
  • First stable API release.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours