Releases: KonnorRogers/rhino-editor
Releases · KonnorRogers/rhino-editor
v0.9.0
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 beingdiv > div.trix-content
. Most users should not see a difference.
Patch Changes
-
#142
a69c1cc
Thanks @KonnorRogers! - fix:openOnClick
for links is now set tofalse
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
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
tofigcaption
to match Trix. toMemorySize
now does not return decimales for KB / MB sizes. This is to align with Trix.
v0.8.6
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 withctrl+a
. - Fixed a bug where
<img>
would be inserted in non-previewable attachments. <figcaption>
now has awhite-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.
- Fixed a bug with
v0.8.5
Patch Changes
- #128
fae7c47
Thanks @KonnorRogers! - - Fix rendering of inline previews of images on Mobile Safari.
v0.8.4
v0.8.3
v0.8.2
v0.8.1
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()
- Fixed a recursive issue with
v0.8.0
Minor Changes
- a315ebe: BREAKING_CHANGE: CSS parts have changed slightly to create a more consistent naming conventions.
toolbar-tooltip
has been renamed totoolbar__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 of0.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
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.- Dependencies: downgrade and pin prosemirror-view from
1.31.2
to1.28.2
to fix and error with adding plugins. ueberdosis/tiptap#4065 (comment)
- Dependencies: downgrade and pin prosemirror-view from