1
0
mirror of https://github.com/writeas/writefreely synced 2024-12-12 08:36:14 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Darius Kazemi
dd88083b2a Prevent dropping of external files onto editor
We now detect whether a file is being dropped by a user (by checking `event.dataTransfer.files.length`) and prevent the remaining drop behavior if this is the case. Otherwise, drop happens like normal (so a user can still drop text into the editor, or even an image that has been uploaded already via normal means and rendered in the editor).
2022-03-03 10:25:47 -08:00
Matt Baer
de5e91cb71 Fix trailing backslash on lists in Classic editor
Previously, when editing a post with an unordered list in it via the
Classic editor, backslashes (\) would get added to the end of each list
item. This fixes that.

Closes #480
2021-06-29 13:07:10 -04:00
Matt Baer
c01fb585ba Support horizontal rules in Classic editor
Ref T727
2021-04-29 17:05:18 -04:00
Matt Baer
d7c9f56b40 Rename ProseMirror writeAs Parser/Serializer to writeFreely 2021-03-25 13:02:57 -04:00
Matt Baer
e36e39cb73 Fix WYSIWYG editor script in Chrome <85
This uses String.replace() instead of String.replaceAll().
2021-03-03 16:38:49 -05:00
v
19beabe2d1 Fixed Safari regex lookahead / lookbehind issue. 2021-03-03 20:29:23 +01:00
Viktor Vaczi
6049213661 added prettierrc 2021-01-08 01:41:36 +01:00
Viktor Vaczi
9a55d38e4b working newlines, link shortcut 2021-01-08 00:33:35 +01:00
Viktor Vaczi
676b673c94 Correct line ends 2021-01-05 15:06:19 +01:00
Viktor Vaczi
b1cea637cb Removed unnecessary schema nodes, custom markdown parser/serializer, publish keyboard shortcut, readmore node 2021-01-04 17:19:24 +01:00
Matt Baer
a96d4474ef Add auto-save to WYSIWYG editor 2020-09-09 17:46:47 -04:00
Matt Baer
da8c08668f Fix whitespace in prose.js 2020-09-09 10:02:00 -04:00
Rob Loranger
b3a541ab09
markdown preserved between edit/load/save 2020-03-11 07:59:22 -07:00
Rob Loranger
ee712bbfaa
WIP: implement WYSIWYG editor w/ prosemirror 2020-03-11 07:18:03 -07:00
Rob Loranger
f1f5dbb128
add prosemirror build environment 2020-03-10 15:11:32 -07:00