Skip to content

Commit a1f716f

Browse files
author
Zaydek Michels-Gualtieri
committed
Save changes in anticipation of potentially breaking getIndexAtOffset and createIndexAtOffset changes
1 parent b0a02ce commit a1f716f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Editor/useEditor/insertHardParagraphAtCollapsed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function insertHardParagraphAtCollapsed(e) {
2525
},
2626
})
2727

28+
// NOTE: No need to deferOnChildren.
2829
const start = {
2930
key: id, // New ID
3031
offset: 0,

src/EditorApp/EditorApp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ const App = () => {
7676
<Transition
7777
on={!readOnlyMode}
7878
className="transition duration-200 ease-in-out"
79-
from="opacity-0 transform translate-y-4"
80-
to="opacity-100 transform translate-y-0"
79+
from="opacity-0"
80+
to="opacity-100"
8181
>
8282
<div className="px-3 py-8 fixed inset-x-0 bottom-0 !opacity-0 pointer-events-none">
8383
<div className="flex flex-row justify-center">

src/EditorApp/WYSIWYGMenu.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import userAgent from "lib/Client/userAgent"
2323
const WYSIWYGMenu = ({ state, dispatch }) => {
2424
const [tooltip, setTooltip] = React.useState("")
2525

26-
// hover:shadow-hero-lg transition duration-200 ease-in-out
2726
return (
2827
<div className="px-3 py-2 flex flex-row items-center bg-white rounded-lg shadow-hero">
2928
<div className="-ml-0.5" />

0 commit comments

Comments
 (0)