This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
Releases: deanblackborough/php-quill-renderer
Releases · deanblackborough/php-quill-renderer
Bug fix: Formatting in list items
- 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
- 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
- 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
- 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
load()
andloadMultiple()
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!
- 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
- 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
- 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
- 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
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 theimg
tag. - Renamed the
CompositeTest
, nowCompoundTest
, 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