mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 09:33:11 +00:00
dd88083b2a
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). |
||
---|---|---|
.. | ||
.babelrc.js | ||
.prettierrc | ||
Makefile | ||
markdownParser.js | ||
markdownSerializer.js | ||
menu.js | ||
package-lock.json | ||
package.json | ||
prose.html | ||
prose.js | ||
README.md | ||
schema.js | ||
webpack.config.js |
Building
- Run
npm install
to download dependencies. - Run
npm run-script build
to build a production script in../static/js/
or runnpm run develop
to build and watch for changes. You can useprose.html
to test your development changes. - Manually copy the file
prose.bundle.js
tostatic/js/
. To be automated