Matt Baer
63eb682a60
Update package-lock.json
1 year ago
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).
2 years ago
Matt Baer
a2f9642238
Use underscores for em text in Rich editor
This fixes an issue where mixing strong and em text caused the text
to not render correctly as a post (e.g. *This is **bold text**.*
would fail).
2 years ago
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
2 years ago
Matt Baer
5a4ff2a9de
Support blockquotes in Classic editor
Ref T727
3 years ago
Matt Baer
c01fb585ba
Support horizontal rules in Classic editor
Ref T727
3 years ago
Matt Baer
d7c9f56b40
Rename ProseMirror writeAs Parser/Serializer to writeFreely
3 years ago
Matt Baer
47aa436caa
Render `tight` Markdown lists in WYSIWYG editor
3 years ago
Matt Baer
9aa5fc4420
Fix ProseMirror failing to parse Markdown images
3 years ago
Matt Baer
636c9b35c0
Use WriteFreely ProseMirror packages
3 years ago
Matt Baer
706ae9cc77
Style Read More section in WYSIWYG like link
3 years ago
Matt Baer
8a8288d2af
Build ProseMirror library on `make ui`
3 years ago
Matt Baer
e36e39cb73
Fix WYSIWYG editor script in Chrome <85
This uses String.replace() instead of String.replaceAll().
3 years ago
v
19beabe2d1
Fixed Safari regex lookahead / lookbehind issue.
3 years ago
Matt Baer
65caaca659
Update ProseMirror install instructions
3 years ago
Viktor Vaczi
8c0978419f
using a branch from github with the markdown hashtag serializing fix
3 years ago
Viktor Vaczi
6049213661
added prettierrc
3 years ago
Viktor Vaczi
9a55d38e4b
working newlines, link shortcut
3 years ago
Viktor Vaczi
676b673c94
Correct line ends
3 years ago
Viktor Vaczi
b1cea637cb
Removed unnecessary schema nodes, custom markdown parser/serializer, publish keyboard shortcut, readmore node
3 years ago
Matt Baer
a96d4474ef
Add auto-save to WYSIWYG editor
3 years ago
Matt Baer
a7190795f7
Output prose.bundle.js to static/js/ dir, instead of dist/
3 years ago
Matt Baer
70dbfcfba4
Fix webpack build issues
This upgrades @babel/preset-env to 7.9.0 from 7.8.7.
See: https://github.com/nodejs/node/issues/32852#issuecomment-613655150
3 years ago
Matt Baer
da8c08668f
Fix whitespace in prose.js
3 years ago
Rob Loranger
b3a541ab09
markdown preserved between edit/load/save
4 years ago
Rob Loranger
ee712bbfaa
WIP: implement WYSIWYG editor w/ prosemirror
4 years ago
Rob Loranger
cb1553d67e
add basic prosemirror instructions
4 years ago
Rob Loranger
f1f5dbb128
add prosemirror build environment
4 years ago