Matt Baer
63eb682a60
Update package-lock.json
пре 1 година
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 година
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 година
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 година
Matt Baer
5a4ff2a9de
Support blockquotes in Classic editor
Ref T727
пре 3 година
Matt Baer
c01fb585ba
Support horizontal rules in Classic editor
Ref T727
пре 3 година
Matt Baer
d7c9f56b40
Rename ProseMirror writeAs Parser/Serializer to writeFreely
пре 3 година
Matt Baer
47aa436caa
Render `tight` Markdown lists in WYSIWYG editor
пре 3 година
Matt Baer
9aa5fc4420
Fix ProseMirror failing to parse Markdown images
пре 3 година
Matt Baer
636c9b35c0
Use WriteFreely ProseMirror packages
пре 3 година
Matt Baer
706ae9cc77
Style Read More section in WYSIWYG like link
пре 3 година
Matt Baer
8a8288d2af
Build ProseMirror library on `make ui`
пре 3 година
Matt Baer
e36e39cb73
Fix WYSIWYG editor script in Chrome <85
This uses String.replace() instead of String.replaceAll().
пре 3 година
v
19beabe2d1
Fixed Safari regex lookahead / lookbehind issue.
пре 3 година
Matt Baer
65caaca659
Update ProseMirror install instructions
пре 3 година
Viktor Vaczi
8c0978419f
using a branch from github with the markdown hashtag serializing fix
пре 3 година
Viktor Vaczi
6049213661
added prettierrc
пре 3 година
Viktor Vaczi
9a55d38e4b
working newlines, link shortcut
пре 3 година
Viktor Vaczi
676b673c94
Correct line ends
пре 3 година
Viktor Vaczi
b1cea637cb
Removed unnecessary schema nodes, custom markdown parser/serializer, publish keyboard shortcut, readmore node
пре 3 година
Matt Baer
a96d4474ef
Add auto-save to WYSIWYG editor
пре 3 година
Matt Baer
a7190795f7
Output prose.bundle.js to static/js/ dir, instead of dist/
пре 3 година
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 година
Matt Baer
da8c08668f
Fix whitespace in prose.js
пре 3 година
Rob Loranger
b3a541ab09
markdown preserved between edit/load/save
пре 4 година
Rob Loranger
ee712bbfaa
WIP: implement WYSIWYG editor w/ prosemirror
пре 4 година
Rob Loranger
cb1553d67e
add basic prosemirror instructions
пре 4 година
Rob Loranger
f1f5dbb128
add prosemirror build environment
пре 4 година