Waldir Pimenta
Waldir Pimenta
I am not sure auto-detection of syntax is robust enough to make this work reliably (VS Code often gets it wrong in my experience, for example), and I don't want...
I just came across [LDT](https://github.com/kueblc/LDT) (Lightweight Decorator for Textareas), which uses a similar approach to Remember the dot's syntax highlighter linked above. In particular, [this demo](https://kueblc.github.io/LDT/examples/wysiwyg.html) ([source code](https://github.com/kueblc/LDT/blob/bb6bd75/examples/wysiwyg.html#L23-L29)) got me...
Good question — this should definitely be documented. :sweat_smile: Currently the main textarea has a width of 100% of available horizontal space, and wraps text by adding a bunch of...
To be honest, I don't remember why I implemented the line-wrapping (back in ecbb3f0f04e6b0b558ba72257e30d5e5bb734ac7) using a padding rather than by changing the width of the textarea itself :thinking: For context,...
~~Another thing related to this functionality that might be improved is using a CSS background to display the line-wrapping guide, rather than the right border of the extra textarea introduced...
Oh, sorry — don't bother about that bit. I should have opened a separate issue, and will do so now. :)
> Hello! I completed the issue That was fast! :grinning: > I can't seem to create a pull request while another one is active It's probably better to start [using...
Yeah, no problem — you can do that for the next PR. Once #58 is merged, I recommend you reset your `gh-pages` branch as I described [here](https://github.com/browserpad/browserpad/issues/42#issuecomment-1126895215), and then start...
Yeah, it is confusing indeed. But you're in the right track. I will quote what you wrote and add additional text (in bold) to make it clear what I understood...
> It seems it would also still require som JS to be implemented (if I'm not mistaken). It actually works with JS disabled — do try disabling JavaScript and clicking...