Version 1.0.23

May 27, 2023

Fixed

  • Fix Table fields used in Vizy Blocks not saving correctly when rows in the table are deleted

Version 1.0.22

December 25, 2022

Fixed

  • Fix GraphQL queries throwing an error when fields aren’t initialized fully.

Version 1.0.21

October 23, 2022

Fixed

  • Fix handling of Vizy fields inside element slideouts, instead of block relationship fields when being edited.

Version 1.0.20

September 25, 2022

Fixed

  • Fix an issue where nested Vizy fields in Matrix/Super Table/etc fields weren’t having their content serialized correctly.

Version 1.0.19

September 23, 2022

Fixed

  • Fix display issues with Vizy fields in Live Preview.
  • Fix an overflow issue for small screens for the block picker.
  • Fix a legacy error where in some cases blocks were missing their block type.
  • Fix toggling field tabs not working correctly for nested Vizy fields.
  • Fix legacy handling of HtmlToProseMirror package when importing content via Feed Me.

Version 1.0.18

August 11, 2022

Changed

  • Update all tiptap dependancies to latest beta versions.

Fixed

  • Fix Vizy node content being reset when inserting other nodes directly before it.

Version 1.0.17

August 9, 2022

Fixed

  • Fix blocktype picker not appearing in Live Preview.

Version 1.0.16

July 2, 2022

Added

  • Add isRoot for Vue component top-level fields.

Changed

  • Update all tiptap dependancies to latest beta versions.
  • Exclude any falsey attributes for a node when rendering.
  • Lower debounce time for watched Vizy Block field changes.
  • Only clicking on the header of Vizy Blocks selects a block.

Fixed

  • Fix link nodes always including target and rel attributes.
  • Fix newly created Vizy blocks not having the correct namespace in some instances.
  • Fix JS not initializing correctly for complex Vizy fields and in combination with Neo/SuperTable/Matrix.
  • Fix an error where delta values for other fields was being stripped out when including a Vizy field.
  • Fix an error when saving nested Vizy fields with validation errors and blocks losing their content.
  • Fix unload warning when no content has been changed.
  • Fix Vizy Block field alignment of fields.
  • Fix selected state issues on nested Vizy fields and Vizy blocks, and add support for “Escape” key to remove selected Vizy Block.
  • Fix being unable to click properly between Vizy blocks to add a new node, and fix gap cursor alignment.
  • Fix an overlay issue for nested Vizy fields when picking Vizy blocks.
  • Fix multiple Redactor fields in a single Vizy block not working correctly.

Version 1.0.15

June 4, 2022

Fixed

  • Fix incorrectly encoding quotes for Vizy field content.

Version 1.0.14

May 28, 2022

Added

  • Add VizyImageNodeInterface and the ability to query asset on image nodes.
  • Add Image::getAsset() for image nodes.
  • Add caching for block type definitions for each field, to speed up rendering of large Vizy fields.
  • Improve field performance when editing in the control panel.

Fixed

  • Fix being unable to remove the template path for a Vizy blocktype when editing the field settings.
  • Remove HTMLPurifier due to performance issues, as we can rely on proper HTML encoding via StringHelper::htmlEncode.
  • Fix double-encoding of HTML strings.
  • Fix volumes not working for selecting images.

Version 1.0.13

April 13, 2022

Added

  • Add support for limit, orderBy and where arguments for GraphQL queries, when querying nodes.
  • Add descriptions for all attributes for GraphQL.
  • Add vizyBlock.getCollapsed().
  • Add vizyBlock.id.
  • Add Node::isEmpty().

Changed

  • Change field layout instruction text for Vizy field settings.
  • GraphQL queries using nodes now only return enabled nodes.

Fixed

  • Fix NodeCollection::isEmpty not working correctly.

Version 1.0.12

March 17, 2022

Fixed

  • Fix nested node content being incorrectly stripped out due to HTML purifier.

Version 1.0.11

March 13, 2022

Changed

  • Improve node collection performance.
  • Minor Vizy block performance improvements.

Fixed

  • Fix serializing nested Vizy fields not being arrays.
  • Fix a potential XSS vulnerability, where HTML wasn’t correctly encoded.
  • Fix an error when serializing nested Vizy fields, when generating search keywords.
  • Fix rendering node collections in the control panel automatically when not needed.
  • Fix Vizy Block nodes not rendering correctly for GraphQL queries.
  • Fix an error when querying nodes or rawNodes for GraphQL queries.

Version 1.0.10

February 28, 2022

Added

  • Add support for emoji’s in Vizy field content.

Fixed

  • Fix field content not updating when editing raw HTML.
  • Fix non-translatable Vizy field with inner translatable fields not having their content propagated correctly.
  • Fix Matrix field sanitizing not working correctly for Vizy Blocks containing Matrix fields where their sub-field handles have changed.
  • Fix related elements in Vizy block fields not having their appropriate site (inherited from the owner element) applied to the field.
  • Fix Matrix field sanitizing not working correctly for Vizy Blocks containing Matrix fields where their sub-field handles have changed.
  • Fix a compatibility issue with Redactor, showing extra line breaks incorrectly.
  • Fix rendering content not reporting back correctly for length Twig filter, and no longer require the use of raw Twig filter.
  • Fix displaying encoded html characters in some cases (pasting from Word).

Version 1.0.9

January 17, 2022

Added

  • Add support for Feed Me.

Changed

  • Bump axios from 0.21.1 to 0.21.2.

Fixed

  • Fix "Remove Empty Paragraphs" not working correctly when content has been pasted from Word, or contained   characters.
  • Fix Firefox text selection issue, when trying to select text within a Vizy block (input, textarea fields).
  • Fix gapcursor tiptap utility not working correctly.
  • Fix when fields only containing images, the field is considered empty.

Version 1.0.8

October 23, 2021

Changed

  • Update all tiptap dependancies to latest beta versions.

Fixed

  • Fix Redactor fields not working correct in a Vizy block.
  • Fix editor losing focus when pressing toolbar buttons.
  • Fix z-index overflow issue when showing the block type selector.
  • Fix block type selector not allowing scrollable area when a lot of blocks are available.
  • Fix Image nodes not having ref tags parsed correctly for transforms.
  • Fix ref parsing logic for Link nodes.
  • Fix an error thrown during search indexing, when a Vizy block contained an element select field (assets, entries, etc).

Version 1.0.7

September 9, 2021

Fixed

  • Fix content not saving correctly when editing via the element slideout.
  • Fix editor toolbar not behaving as fixed when opening the element editor slideout.
  • Fix links containing ref tags not being parsed properly.
  • Fix including incorrect attributes (id, uid) when querying Vizy field nodes via GraphQL.

Version 1.0.6

August 29, 2021

Added

  • Add subscript and superscript buttons.

Changed

  • Update all tiptap dependancies to latest beta versions.

Fixed

  • Ensure each field's content is serialized properly when saving Vizy blocks.
  • Fix Vizy blocks using isolating, causing issues with backspacing some other nodes (blockquote).
  • Fix an error when trying to add a link with only numbers.
  • Remove field modification indicator (from Craft) for Vizy block inner fields.
  • Fix lack of enabled attribute for all nodes.
  • Fix disabled Vizy blocks returned in query() when using all() to query nodes.
  • Fix text align buttons not working, due to @tiptap/core@2.0.0-beta.85 change.
  • Fix numerous errors when creating multiple Vizy fields in Matrix and Super Table fields.

Version 1.0.5

August 2, 2021

Changed

  • Update all tiptap dependancies to latest beta versions.

Fixed

  • Fix nested Vizy fields not rendering when used inside a Matrix block (also inside a Vizy field).
  • Fix focus styling when selecting a Vizy Block.
  • Fix Vizy Block inner field validation (including Matrix).
  • Fix brand-new static Super Table blocks in a Vizy block having their rows duplicated when moving the block.
  • Fix when moving a Vizy block containing a Redactor field, it Redactor would be initialized multiple times.
  • Fix field layout changed in a Super Table-nested Vizy field not applying when running project-config/apply.
  • Fix field layout changed in a Matrix-nested Vizy field not applying when running project-config/apply.
  • Fix multiple Vizy fields in Matrix/Super Table parent fields not saving correctly.

Version 1.0.4

July 21, 2021

Added

  • Add text and rawNode to NodeInterface for GraphQL.

Fixed

  • Fix an error when saving Vizy blocks containing Matrix fields with no blocks defined.
  • Fix Vizy fields failing to validate Vizy blocks, when only Vizy blocks are present in the field.
  • Fix content, attrs, marks and text GraphQL node properties not having the correct values.
  • Fix image node, and other self-closing nodes not displaying correctly.
  • Fix required Vizy fields not validating when no content is set for the field.

Version 1.0.3

June 22, 2021

Added

  • Add defaultTransform field setting.
  • Add defaultTransform field setting.
  • Add availableTransforms field setting.
  • Add availableVolumes field setting.
  • Add showUnpermittedFiles field setting.
  • Add showUnpermittedVolumes field setting.
  • Add trimEmptyParagraphs field setting to automatically trim any empty paragraphs in content.
  • Add serializeValue() to all nodes, to control the values saved to the database.

Changed

  • Update all tiptap dependancies to latest beta versions.
  • Update Vizy Node GraphQL interface name.

Fixed

  • Fix multiple nested marks (bold + underline, etc) rendering text twice.
  • Fix Matrix blocks throwing an error if a block type field was deleted. (thanks @dyerc).
  • Fix Vizy block type fields not saving when nested in a Super Table/Matrix field.
  • Fix nested Vizy fields’ image nodes not working correctly.
  • Fix GQL Vizy Block field aliases not working.
  • Fix fixed toolbar buttons overlapping for nested Vizy fields.
  • Fix nested list elements ul, ol not appearing correctly in the control panel editor.
  • Fix Vizy Block fields not validating when saving an element.
  • Fix getMarkAttributes tiptap deprecation.
  • Fix asset fields in Vizy blocks not resolving to the correct volume/paths.
  • Fix incorrectly parsing Twig template code in block fields.
  • Fix Vizy fields not showing as empty for empty content.

Version 1.0.2

May 30, 2021

Added

  • Allow marks to use merge when using template-based config.
  • Add getOwner() to Vizy Block element, to allow use of owner for block field settings.

Changed

  • Update all tiptap dependancies to latest beta versions.
  • Remove duplicate Vue dependancy, causing some conflicts with other plugins using Vue.

Fixed

  • Fix incompatibility issues with Inventory plugin.
  • Fix an error when a block type’s tab contained only numbers.
  • Fix orphaned layouts for deleted block types, or deleted Vizy fields.
  • Fix field layout setting updates not being stored to project config (adding or removing field).
  • Ensure general block type errors are show when saving a field fails.
  • Fix multiple field layouts being created if a block type fails validation when saving the field settings.
  • Fix unload warnings when no content has changed, when a field has nested Vizy fields.
  • Fix nested Vizy fields and their toolbars not sticking when using toolbarFixed.
  • Fix “add block” button not always appearing on a new line, depending on formatted text.
  • Fix incomplete field data being saved when a Matrix (or similar) field contained a nested Matrix, when the owner element has unchanged block content.

Version 1.0.1

May 9, 2021

Changed

  • Allow Icons Path setting to use auto-suggest field.
  • Refactor block inner field change detection to use MutationObserver. Should prove more reliable for variety of edge-cases.

Fixed

  • Fix search indexing not factoring in Vizy block inner fields, and nested Vizy fields.
  • Fix documentation link for editor config in field settings.
  • Fix an error when trying to populate block content for a block field that has been changed or removed.
  • Fix Vizy block elements not having inner field normalisation occur with owner element.
  • Fix an error when adding new block types to the field.
  • Fix WYSIWYG styles being applied to nested block elements.
  • Fix changes from Redactor not serializing when saving Vizy field content.
  • Fix changes from Position and Colour Swatches plugins not serializing when saving Vizy field content.
  • Fix a potential error when a field that was included in a block type was deleted.
  • Fix changes from Tag fields not serializing when saving Vizy field content.
  • Fix extensions not always getting initialized properly, when being contained in the formatting menu.

Version 1.0.0

April 30, 2021
  • Initial release.