Releases: verbb/vizy
Releases · verbb/vizy
2.1.2
Fixed
- Fix being unable to select an image when no default transform was set for the field.
2.1.1
Added
- Add Table support for Feed Me.
- Command Palette commands can now be part of the Editor Config.
Changed
- Command Palette commands now filter out any extensions that are included, but don't have a button enabled.
Fixed
- Fix ul/ol items being invalid in the editor and saved incorrectly. May require any items added after
2.1.0
to be re-input. - Fix some users not being able to link to assets.
2.1.0
Added
- Add the ability to provide your own buttons, commands and extensions.
- Add support for Editor Config custom buttons.
- Vizy fields can now be included recursively (up to 10 levels of the same field).
- Add Media Embed node.
- Add Table node.
- Add iFrame node.
- Add
TextStyle
mark for creating span elements related to text styles. - Add “Editor Mode” field setting to control whether block-only, rich-text-only or combined.
- Add “Commands Palette” to make creating content super-speedy. Just start typing “/“ anywhere.
- Add “Block Type Picker Behaviour” field setting to control whether having the block-picker shown on click or hover.
- Add “Expand All” and “Collapse All” option to Vizy blocks.
- Add
data-block
anddata-type
attributes to Vizy blocks. - Add
Ctrl/Cmd
+K
as a keyboard shortcut to add new links. - Add “Plain Text Paste” field setting.
- Add “Classes” setting to Link nodes.
- Add “Min Blocks” and “Max Blocks” settings to field.
- Add “Min Blocks” and “Max Blocks” settings to each Vizy block type.
- Add
LinkMarkInterface
for Link Marks for GraphQL queries. - Add proper support for Marks in GraphQL queries.
- Add
Link::getLinkElement()
. - Add the ability to set a default source for images uploaded to the field.
- Add keyboard accessibility to menu button dropdowns.
- Add the ability to set render variables on the node with
node.renderHtml(config)
ornode.renderNode(config)
. - Add keyboard support to block type picker.
- Add better ghost image when dragging Vizy blocks.
- Add support for disabling max picked blocks from the block-picker.
- Double-clicking a Vizy block now toggles its collapsed state.
- Add
Node::normalizeNode
to allow nodes to be normalized from the database. - Add
values
toVizyBlockInterface
for GraphQL.
Changed
- Now requires Craft 4.4+.
- Update all JS dependancies.
- Update Tiptap to 2.0.
- Remove Vizy block focus state (for now).
- Refactor nested Vizy fields to correctly render with Vue 3 compilation, fixing lots of pesky issues.
- Formatting buttons (headings, blockquote, etc) can now be included outside of the formatting dropdown.
- Ordered/Unordered Lists nodes now longer wrap content with Paragraph nodes.
- Refine heading styles in the editor.
- Update
NodeInterface::text
to return a textual representation (plain text) of any content for GraphQL. - Modifying other Craft fields included in Vizy fields now correctly updates content when fields’ handles are changed.
- Improve visibility of dropcursor when dragging Vizy blocks.
- Speed up tippy overlays for snappier feedback.
- Change top-level Paragraph node button icon.
- Move asset-related field settings to hidden “advanced” area for brevity.
- Update text align buttons to show
isActive
state. - Provide better handling of invalid Vizy blocks if they occur.
Fixed
- Fix modified field status badge for Vizy block fields.
- Fix field triggering a changed value behaviour (saving a new draft) when no content has changed.
- Fix edit image modal alignment and overflow scrolling issues.
- Fix settings cog color for Vizy blocks.
- Fix tab overflow issue for Vizy blocks.
- Fix missing translations for block settings.
- Fix toolbar button alignment issue for icons.
- Fix Paragraph node button not working correctly.
- Fix node selection when hovering.
- Fix empty blocktype picker UI when no block types are available.
- Fix being able to copy/paste Vizy blocks into other fields (in a nested setup) that don’t support the same block types.
- Fix a JS error when trying to drag blocks between nested Vizy fields.
- Fix copying field handles when editing field content not working.
- Fix an issue where field layout fields may not be saved when adding quickly.
- Fix some HTML characters being stripped incorrectly due to LitEmoji processing.
- Fix node attributes like classes not always merging correctly with template-defined and config-defined.
- Fix nodes saving attributes with
null
values. - Fix Paragraph empty checks when containing nested nodes/marks.
- Fix node serialization not working for nested nodes.
- Fix an error when invalid nodes were used (crashes editor).
- Fix some special HTML characters being stripped out of content.
- Fix accessibility for button modals.
- Fix menu bar items in dropdowns not showing their active state.
- Fix dropcursor glitches between Vizy blocks, and improve style.
- Fix an issue where saving Vizy fields inside Vizy Block field type settings weren’t always saved.
- Fix Redactor changes in Vizy blocks not having their content serialized correctly.
- Fix Table fields used in Vizy Blocks not saving correctly when rows in the table are deleted.
- Fix height of menu button options and scrollable container.
2.0.12
Fixed
- Fix an error when querying Vizy blocks with GraphQL.
2.0.11
Added
- Add support for Preparse plugin.
- Add content service to handle updating Vizy field content (mostly for Hyper.
- Add
$_type
and$_field
to Block. (thanks @leevigraham). - Add the ability to set the initial number of rows for a field, to control its initial height.
Changed
- Change Vizy field data to be stored in
vizyData
to prevent collisions with inner fields (which are not needed but can override Vizy serialized content). - Only admins are now allowed to access plugin settings.
text
for nodes is now automatically run through theraw
Twig filter to decode HTML special characters.
Fixed
- Fix a GraphQL type error for VizyBlocks.
- Fix node types not appearing in the Explorer or Introspection for GraphQL.
2.0.10
Changed
- Link marks now automatically parse for reference tags in their
href
.
Fixed
- Fix GraphQL queries throwing an error when fields aren’t initialized fully.
- Fix heading styles in editor.
- Fix an error importing via Feed Me, in some cases.
1.0.22
Fixed
- Fix GraphQL queries throwing an error when fields aren’t initialized fully.
2.0.9
Fixed
- Fix Feed Me importing not supporting all node types (just plain text).
- Fix an error where field settings for a block’s field layout can be corrupted.
2.0.8
Fixed
- Fix handling of Vizy fields inside element slideouts, instead of block relationship fields when being edited.
1.0.21
Fixed
- Fix handling of Vizy fields inside element slideouts, instead of block relationship fields when being edited.