Skip to content

Releases: KonnorRogers/rhino-editor

v0.9.0

12 Oct 14:12
5fb1e49
Compare
Choose a tag to compare

Minor Changes

  • #143 13dce87 Thanks @KonnorRogers! - BREAKING_CHANGE: Allow the light-dom editor to be slotted. Do note, this change may result in a small breaking change for the users relying on the original light-dom structure being div > div.trix-content. Most users should not see a difference.

Patch Changes

  • #142 a69c1cc Thanks @KonnorRogers! - fix: openOnClick for links is now set to false by default in the editor. This fixes some bugs around editing links and was the original intended behavior.

  • #143 13dce87 Thanks @KonnorRogers! - fix: link-dialog buttons now have proper hover / focus state.

v0.8.7

27 Sep 11:56
53af8f8
Compare
Choose a tag to compare

Patch Changes

  • #136 ba79275 Thanks @KonnorRogers! - - previewable attribute is now more consistently applied and checked on attachments.
    • Fixed a bug where attachments were not rendering properly when the raw action-text HTML passed to the editor.
    • Fixed a bug where all attachments were not being properly rendered.
    • Figcaption now jumps to the end of the block when you click on the figure
    • "Add a caption" will no longer show up on custom attachments.
    • Added a note about custom attachments need an actual content-type unlike Trix.
    • Added a small amount of margin-top to figcaption to match Trix.
    • toMemorySize now does not return decimales for KB / MB sizes. This is to align with Trix.

v0.8.6

25 Sep 05:17
627b9ce
Compare
Choose a tag to compare

Patch Changes

  • #132 d760195 Thanks @KonnorRogers! - - Fixed a bug when inserting text into figcaption causing extra <p> tags to appear.
    • Fixed a bug with white-space: pre-wrap when figures get rendered in ActionText.
    • Fixed the <figcaption> editor to behave more like Trix. On focus, if the caption is empty, it will automatically delete the caption and show the placeholder of "Add a caption".
    • Fixed a bug where the editor would not rebuild if you changed the translations.
    • Fixed a bug when <figcaption> had an empty caption you could not select the whole document with ctrl+a.
    • Fixed a bug where <img> would be inserted in non-previewable attachments.
    • <figcaption> now has a white-space: normal when rendered in ActionText.
    • Fixed a bug where non-previewable attachments were not able to be dragged.
    • Fixed a bug where stlying of <figcaption> placeholder text was not rendering in the correct spot.
    • non-previewable attachments are no longer nested inside of Attachment Galleries.
    • Added captionPlaceholder to the list of translations.

v0.8.5

21 Sep 06:20
a599d0e
Compare
Choose a tag to compare

Patch Changes

v0.8.4

20 Sep 12:02
2987b63
Compare
Choose a tag to compare

Patch Changes

  • 4e036a3: - Fixed a bug in rendering of non-previewable attachments not having an sgid or url
    • Fixed a bug in previewable attachments not having their height + width attached

v0.8.3

19 Sep 23:09
d75c196
Compare
Choose a tag to compare

Patch Changes

  • 486935e: - Fixed a bug where changing the serializer from HTML to JSON or vice-versa did not update the input element

v0.8.2

14 Sep 16:32
34e5c30
Compare
Choose a tag to compare

Patch Changes

  • fdae042: - Fix a regression in attachment rendering

v0.8.1

13 Sep 17:36
9687f4d
Compare
Choose a tag to compare

Patch Changes

  • 09e403f: - Fixed a conflict where ActiveStorage attachments not bound via custom attachments (like Mentions via TipTap extension) would get parsed by RhinoEditor by ignoring contentType="application/octet-stream" on attachments.
  • cfe01a5: - Fixed a bug where progress bars showed on element with sgid on them.
    • Fixed a recursive issue with setUploadProgress()

v0.8.0

11 Sep 15:49
a942226
Compare
Choose a tag to compare

Minor Changes

  • a315ebe: BREAKING_CHANGE: CSS parts have changed slightly to create a more consistent naming conventions. toolbar-tooltip has been renamed to toolbar__tooltip along with other parts being slightly modified. link-dialog__add-link changed to
    link-dialog__link.
  • a315ebe: - BREAKING_CHANGE: handleFiles now no longer automatically chains events. Instead now it returns the attachmentManagers to be chained.

Patch Changes

  • a315ebe: - The editor no longer inserts <p> tags above and below an attachment
    • <figure> now has a default margin of 0.6em 0 to align with Trix.
    • Updated to role-components v2.0.1
    • Added docs on styling the border of the toolbar
  • a315ebe: - Fixed CSS for attachment galleries
  • a315ebe: - Added the ability to press the "Enter" key inside a <figcaption> and end up on the next line.
  • a315ebe: - Fixed a bug with dropcursor not showing
  • 6190d0b: Dependencies: update role-component to v2.0.0
  • a315ebe: - Fixed a bug where pressing backspace inside a <figcaption> or a Gallery would cause the attachment to no longer be in the gallery

v0.7.1

30 Aug 22:19
c62e28f
Compare
Choose a tag to compare

Patch Changes

  • f51bf37: fix: add addExtensions api to editor
  • f51bf37: starterKitOptions and extensions no longer implement getters / setters, and are now direct instance variables
  • f51bf37: - Dependencies: remove unnecessary @tiptap/extensions-text-align dependency.