Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Releases: deanblackborough/php-quill-renderer

Bug fix: Formatting in list items

21 Jun 23:22
a46ff70
Compare
Choose a tag to compare
  • Lists no longer break if a list item contains formatted text, closes #89.
  • Initial support for child deltas.

With the initial work on child deltas this fix opens up additional development, for example child lists, I may also be able to remove the compound deltas, I'm not keen on the duplication of code, v3.14.0 soon.

Initial Markdown support and bug fixes

13 Jun 23:34
76b70bd
Compare
Choose a tag to compare
  • Added video support to HTML and Markdown parsers.
  • Newlines before inserts were being ignore, closes #87.
  • Minor corrections to README.
  • Added test coverage.

Groundwork for Markdown

02 Jun 09:49
5aabfd9
Compare
Choose a tag to compare
  • Added new Interfaces, will simplify additional of new parsers.
  • Initial Markdown development, not complete, no escaping yet and not fully tested.
  • Reverted requirements to 7.1, turns out there isn't currently a hard requirement for 7.2.
  • General refactoring, also, improved list handling.

Groundwork for Markdown

02 Jun 09:47
a67557e
Compare
Choose a tag to compare
  • Added new Interfaces, will simplify additional of new parsers.
  • Initial Markdown development, not complete, no escaping yet and not fully tested.
  • Reverted requirements to 7.1, turns out there isn't currently a hard requirement for 7.2.
  • General refactoring, also, improved list handling.

Tweaks

29 May 11:46
0766e49
Compare
Choose a tag to compare
  • load() and loadMultiple() now support method chaining, closes #72, required a minor change to thrown exceptions.
  • Generated HTML now has newlines where expected, closes #69.
  • Updated one test, expected and actual the wrong way around.
  • Added a Options class.
  • Added two tests to catch exceptions.
  • Added a trim option to render, strips any extra whitespace.
  • Minor tweaks and improvements

Line breaks MIA!

29 May 11:27
Compare
Choose a tag to compare
  • Line breaks missing, added where expected, a couple of tests where updated to include the <br /> where it should have been in the expected output.

Bug fix, empty deltas being created

20 May 23:22
b4b143f
Compare
Choose a tag to compare
  • Fixed bugs #64 and #65, empty deltas being created by the preg_match on \n
  • Updated README, added a link to Quilljs
  • Updated link in composer file, now goes to detail page on Transmute Coffee

Process multiple $quill_json

15 May 23:06
2ed0a07
Compare
Choose a tag to compare
  • Added support for passing multiple deltas into the API/parser, limited to multiple of the same type.
  • Added support for reusing the renderer, added load() method to enable this.
  • README updated to show new usage.
  • Minor comment and variable corrections.
  • Added tests to cover new feature.

Parse multiple $quill_json strings

13 May 12:19
fec18fe
Compare
Choose a tag to compare
  • Add initial support for loading multiple $quill_json strings, very basic and not yet supported through the API, should be live in next version.
  • Custom attributes can be added to base insert and compound delta, the base insert adds a span around the insert text; the compound delta adds the attributes to the outer HTML tag.
  • Added code coverage reporting via coveralls.io.
  • Increased test coverage, test for thrown exceptions and removed redundant method in Delta class.

Bugs: Parser::load() and CompoundImage

09 May 23:37
a1bced7
Compare
Choose a tag to compare
  • Parser::load() wasn't resetting the deltas array, thanks tominventisbe.
  • Added CompoundImage delta, Compound delta was incorrectly trying to handle images, thanks tominventisbe.
  • The CompoundImage delta now assigns all defined attributes to the img tag.
  • Renamed the CompositeTest, now CompoundTest, new name more closely matches what I am testing.
  • Added credit to Mark Davison - Missing in the v3.00.0 release.

Version bumped to v3.01.0 because of the small new feature, all defined attributes assigned to img, without that it would have been v3.00.1