You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
Firepad replaces CodeMirror redo/undo functions with its own handlers for undo and redo but when disposing Firepad, it doesn't return them to their original functions and this causes unexpected behavior in CodeMirror, leaving it in an inconsistent state leading to potential data loss
Firepad replaces CodeMirror redo/undo functions with its own handlers for undo and redo but when disposing Firepad, it doesn't return them to their original functions and this causes unexpected behavior in CodeMirror, leaving it in an inconsistent state leading to potential data loss
See https://github.com/FirebaseExtended/firepad/blob/master/lib/rich-text-codemirror-adapter.js#L299 and https://github.com/FirebaseExtended/firepad/blob/master/lib/rich-text-codemirror-adapter.js#L303
When detaching the CodeMirror adapter, those functions should return to their original state. See:
firepad/lib/rich-text-codemirror-adapter.js
Line 29 in 602138d
The text was updated successfully, but these errors were encountered: