Comments (3)
Chrome JS console:
Failed to load resource: the server responded with a status of 400 (Bad request) https://[server]/apps/files_texteditor/ajax/savefile
PUT https://[server]/apps/files_texteditor/ajax/savefile 400 (Bad request)
send @ core.js:4
ajax @ core.js:4
saveFile @ merged.js?v=79ca4c103acf2d5693fde46ac20c0cc3-3:584
_onSaveTrigger @ merged.js?v=79ca4c103acf2d5693fde46ac20c0cc3-3:101
from files_texteditor.
I have the same problem. Is there any new approach?
I assume it is because of the file locking by apcu/redis. It seems that the editor is unable to unlock the current file before saving. The first two or three times the editor has no problem with saving in between after writing some lines, but after this it is not able to unlock it anymore.
from files_texteditor.
I notice that the save timer does not work correctly. It is supposed to only save 3 seconds after you stop typing, but it never clears the timer. If you watch the save message after typing, it will flicker between "Saving" and "Saved". I am pretty sure that this is why it is occasionally having this problem: it gets a save request for every character sent, and the pile-up causes messages to arrive out of order, screwing everything up afterwards.
I believe https://github.com/nextcloud/files_texteditor/blob/master/js/editor.js#L638 is supposed to use OCA.Files_Texteditor instead of "this"
from files_texteditor.
Related Issues (20)
- YAML syntax highlighting not working HOT 1
- Editing an existing txt file on ios reset contents without the possibility to recovery HOT 2
- I can't make collaborative edition
- soft wrapping of text HOT 1
- Text input from smartphones buggy due to autosave
- DOMPurify ReferenceError for shared file preview HOT 1
- Please add Compatibility for NC24 HOT 13
- Please add »source mode« for markdown editing HOT 2
- Please add YAML front matter support to be able to add meta data to markdown files
- Please add compatibility with NC25 HOT 5
- Replace phpunit.yml with split workflows
- [FR] Toggle wide screen
- Tables always use dark mode
- Please make your app `tested`
- [Bug] Adding a new line deletes a character on Android HOT 2
- File's content transformed in to "false" content HOT 2
- allow closing search by Escape key
- [Bug]: Files displays broken encoding when ⚰ is added to Markdown file HOT 3
- Please add compatibility for NC28 HOT 18
- Some ANSI text gets converted to UTF8 with broken umlauts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from files_texteditor.