Changelog
Changelog
0.14.3
Patch Changes
- #240
9922d58
Thanks @KonnorRogers ! - Fix: Remove the cursor placeholder for inserting links due to regressions in mobile browsers.
0.14.2
Patch Changes
- #237
1c395c5
Thanks @KonnorRogers ! - Fix pendingAttachments not clearing attachments that get cancelled
0.14.1
Patch Changes
-
#231
01dbfbf
Thanks @KonnorRogers ! - Fix the hacky workaround for slow / unstable connections -
#231
01dbfbf
Thanks @KonnorRogers ! - remove unnecessary console.log -
#230
588abba
Thanks @bjhess ! - Fix the UX of link insertions
0.14.0
Minor Changes
-
#227
924d0ff
Thanks @KonnorRogers ! - Added a “faux selection” for link insertions to give a visual indicator of insertion / replacement points for links. -
#227
924d0ff
Thanks @KonnorRogers ! - Add a rhino-editor.css
which is a more minimaltrix.css
and has no styles on the editor content.
Patch Changes
-
#227
924d0ff
Thanks @KonnorRogers ! - Fixed a bug around “progress” finishing prematurely -
#227
924d0ff
Thanks @KonnorRogers ! - Fixed a bug with direct upload events not dispatching under the proper name
0.13.2
Patch Changes
-
#220
5fcb5ac
Thanks @KonnorRogers ! - Fixed a CSS bug with inline code -
#220
5fcb5ac
Thanks @KonnorRogers ! - Fixed link dialogs not showing when the selection is not in view
0.13.1
Patch Changes
61241c0
Thanks @KonnorRogers ! - Fix some bugs around prosemirror-view versioning
0.13.0
Minor Changes
-
#216
0031ec1
Thanks @KonnorRogers ! - Styles: blockquote has had its icon changed to represent a block code icon. -
#216
0031ec1
Thanks @KonnorRogers ! - Styling of link dialogs has changed now that it follows the selection cursor. -
#216
0031ec1
Thanks @KonnorRogers ! - Fix: code blocks now properly display their correct keybinding -
#216
0031ec1
Thanks @KonnorRogers ! - Feature: Added an “inline code” toolbar button, bubble menu buttons, and default styles. -
#216
0031ec1
Thanks @KonnorRogers ! - Feature: Link dialogs now follow your selection cursor instead of always being in the top left of the editor
Patch Changes
-
#216
0031ec1
Thanks @KonnorRogers ! - Fix: behavior around cursors with inline-code using Codemark plugin. -
#216
0031ec1
Thanks @KonnorRogers ! - Fix: links now properly render inside of <figcaption>
-
#216
0031ec1
Thanks @KonnorRogers ! - Fix: double error extension registration has been fixed -
#216
0031ec1
Thanks @KonnorRogers ! - Fix: keybindings now swap to using “option” instead of “alt” for iOS / MacOS.
0.12.0
Minor Changes
-
#205
f4c64a7
Thanks @KonnorRogers ! - Feature: Added the determineNodeViewAnchor
to the bubble menu extension -
#205
f4c64a7
Thanks @KonnorRogers ! - Feature: Add the defer-initialize
attribute for more reliable initialization events.
Patch Changes
-
#205
f4c64a7
Thanks @KonnorRogers ! - Bug fix: bubble menu will now anchor the <figcaption>
or an attachment. -
#205
f4c64a7
Thanks @KonnorRogers ! - Style fix: attachments without previews no longer have weird empty border lines -
#205
f4c64a7
Thanks @KonnorRogers ! - Bug Fix: no longer generate an empty <img>
for non-previewable attachments.
0.11.0
Minor Changes
-
#199
7de4762
Thanks @KonnorRogers ! - Added rhinoBubbleMenu
to the default list of extensions. -
#199
7de4762
Thanks @KonnorRogers ! - Feature: Added some CSS fallbacks for dark color schemes -
#199
7de4762
Thanks @KonnorRogers ! - Feature: added events for direct upload in the form of rhino-direct-upload:*
, you can read more in the editor events section. -
#201
0611c16
Thanks @KonnorRogers ! - Update package versions -
#199
7de4762
Thanks @KonnorRogers ! - Feature: added the rhino-update
event. Useful for tracking when the component has updated.
Patch Changes
-
#199
7de4762
Thanks @KonnorRogers ! - Feature: Added the rhino-update
event for tracking updates to the editor -
#199
7de4762
Thanks @KonnorRogers ! - Fixed a bug where rhino editor would not find inputs if loaded in the shadow dom
0.10.2
Patch Changes
-
#185
2a6fb5b
Thanks @KonnorRogers ! - Add initializationComplete
async function for listening to initialization -
#185
2a6fb5b
Thanks @KonnorRogers ! - Fixed initialization events to be more reliable to catch
0.10.1
Patch Changes
- #182
c64173a
Thanks @KonnorRogers ! - Fixed a bug in the update lifecycles of RhinoEditor causing rebuilds to happen too frequently
0.10.0
Minor Changes
-
#178
abddbac
Thanks @KonnorRogers ! - Add getHTMLContentFromRange()
andgetTextContentFromRange()
functions -
#176
fd8cc08
Thanks @KonnorRogers ! - upgrade TipTap versions to 2.4.0
Patch Changes
-
#176
fd8cc08
Thanks @KonnorRogers ! - Fixed an issue where updating translations would not update the editor -
#178
abddbac
Thanks @KonnorRogers ! - Fixed a bug where the current focused figure did not have an outline -
#178
abddbac
Thanks @KonnorRogers ! - Close link dialogs when clicking outside the editor or on other toolbar items -
#176
fd8cc08
Thanks @KonnorRogers ! - - Fixed tooltip-arrow
andtooltip-base
parts renamed totoolbar__tooltip__arrow
andtoolbar__tooltip__base
respectively. -
#178
abddbac
Thanks @KonnorRogers ! - Fixed a bug where figcaptions would never update if you did not interact with the editor
0.9.3
Patch Changes
- #170
bb3f160
Thanks @KonnorRogers ! - Fixed a bug with removing attachments
0.9.2
Patch Changes
- #163
65a86d1
Thanks @KonnorRogers ! - Docs: Added documentation for importmaps workaround
0.9.1
Patch Changes
- #150
98bb49c
Thanks @KonnorRogers ! - Add default word-break to .trix-content https://github.com/basecamp/trix/pull/1126
0.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 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 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.
0.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.
0.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
0.8.5
Patch Changes
- #128
fae7c47
Thanks @KonnorRogers ! - - Fix rendering of inline previews of images on Mobile Safari.
0.8.4
Patch Changes
- 4e036a3: - Fixed a bug in rendering of non-previewable attachments not having an
sgid
orurl
- Fixed a bug in previewable attachments not having their height + width attached
0.8.3
Patch Changes
- 486935e: - Fixed a bug where changing the
serializer
from HTML to JSON or vice-versa did not update the input element
0.8.2
Patch Changes
- fdae042: - Fix a regression in attachment rendering
0.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
0.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 tolink-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
0.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. https://github.com/ueberdosis/tiptap/issues/4065#issuecomment-1699232591
- Dependencies: downgrade and pin prosemirror-view from
0.7.0
Minor Changes
- a83e08d: Added trix compatibility events
-
1a34f1d: - BREAKING_CHANGE:
editor.extensions()
has changed from a function to a variable viaeditor.extensions
- BREAKING_CHANGE:
editor.extensions
no longer contains theRhinoStarterKit
andStarterKit
. They have been moved into a private array that will be concatenated. It is recommend to instead set everything to false if you wish to disable everything. - BREAKING_CHANGE:
editor.starterKit
has been renamed toeditor.starterKitOptions
- BREAKING_CHANGE:
editor.rhinoStarterKit
has been removed. All starter kit options now live inside ofeditor.starterKitOptions
. AllrhinoStarterKit
options have been renamed to include arhino*
prefix. Example:gallery
has been renamed torhinoGallery.
- feature: Adding a
tip-tap-editor-base
export for those looking to implement their own toolbar. - feature: Modifying
starterKitOptions
will automatically update the editor. - feature: Disabling an option in
starterKitOptions
will now also cause the toolbar to not display the disabled option. - fix: Fixed a bug in attachments that would cause a console error when upload more than 3 attachments at once.
- fix: Fixed an issue with where TypeScript types were being generated in the wrong directory.
- BREAKING_CHANGE:
Patch Changes
- a83e08d: Fixed .rhino-toolbar-button not inheriting color
- e7a44d3: Fixed a bug in lists to allow show proper highlighting and allow nesting
0.6.1
Patch Changes
- 3798f31: fixed a bug causing rhino-editor to load ProseMirror multiple times
- 3798f31: Added
rhino-file-accept
event to align withtrix-file-accept
Added documentation on preventing file uploads
0.6.0
Minor Changes
- f03f155: Add error messages for failed uploads
- f03f155: Added increase / decrease indentation
Patch Changes
- f03f155: Upgrade to v2.0.2 of TipTap, fix flaky test suite, improve mobile safari support.
- 560c5a3: Fix image uploader alignment
0.5.0
Minor Changes
- ed77144: Upgrade prosemirror and tiptap (v2.0.2) dependencies
Patch Changes
- ed77144: Allow configuring rhino and starterkit options
- ed77144: fixed a bug where settings galleries: false would crash the editor.
0.4.0
Minor Changes
-
4e293f3: fix: move editor from shadow dom to light dom docs: Updated docs to reflect new CSS import
BREAKING_CHANGE: The editor has been moved to the light DOM and CSS must now be imported.
- 4e293f3: adjusted styles by reducing focus-ring and comibing editor + toolbar
- 51fcfa2: Add “accept” attribute for file uploading
0.3.2
Patch Changes
- b7b335c: fix: bad entrypoint
0.3.1
Patch Changes
- 0a59f7a: fix: everything was disabled, tweak some color values
0.3.0
Minor Changes
-
84ff18b: fix: autofocus is now “false” by default BREAKING_CHANGE: defaultOptions is now editorOptions
diff- class ExtendedRhinoEditor extends TipTapEditor { - defaultOptions { - return { - super.defaultOptions(), - autofocus: true - } - } - } + class ExtendedRhinoEditor extends TipTapEditor { + editorOptions { + return { + autofocus: true + } + } + }
feat: created a
/cdn/exports
route for CDN users.
0.2.0
Minor Changes
- 4a5d781: Rename “dist” to “exports”. Remap internal files paths to “exports” and “internal”.
All notable changes to this project will be documented in this file. See standard-version
0.1.1 (2023-01-21)
⚠ BREAKING CHANGES
- rename all internal views to use kebab-case (#24)
- CSS now uses ‘rhino’ prefix (#19)
Bug Fixes
- CSS now uses ‘rhino’ prefix (#19
) (eeae3c2 ) - minor styling issues (b35b6b7
) - rename all internal views to use kebab-case (#24
) (c5b5f3a )
0.1.0 (2022-12-24)
Bug Fixes
- borked svg sizes on safari (e56b176
)
0.0.2 (2022-12-07)
Changelog
All notable changes to this project will be documented in this file. See standard-version