soscripted / sox

Stack Overflow Extras: a userscript for the Stack Exchange websites to add a bunch of optional toggle-able features
http://stackapps.com/q/6091/
MIT License
72 stars 15 forks source link

Preview only works for new post. For editing existing ones, editor becomes non edittable #373

Closed parthi2929 closed 5 years ago

parthi2929 commented 5 years ago

Installed Version: 2.3.14DEV Environment: Tampermonkey

Current Behaviour

Side by Side preview opens for both creating new post and editing existing post. But in case of latter, the editor is no more editable. The mouse pointer becomes pointing finger, suggesting LHS has become some kind of clickable area, but nothing happens clicking on it.


SOX Errors logged to the browser console -- F12 (if available)


Steps to reproduce


Features Enabled

["Editing-addSBSBtn","Sidebar-hideJustHotMetaPosts","Sidebar-hideHotNetworkQuestions"]
shu8 commented 5 years ago

@parthi2929 Thanks for the bug report! Unfortunately, I can't reproduce it -- which browser are you running?

This was an old bug that should be fixed in the latest DEV version but it looks like you're already running the latest one! (2.3.14) :/

parthi2929 commented 5 years ago

I am using chrome browser

parthi2929 commented 5 years ago

It is producing the preview, but the editor on left side is no more editable, so please make sure you tried that as well?

shu8 commented 5 years ago

Does this happen to you on any specific sites? I cannot reproduce it on Chrome editing an answer/question on Meta SE, Stack Overflow and others.

shu8 commented 5 years ago

Ah, I just tried it on a site I have <2k rep in and I realised you're talking about editing posts on the /edit page rather than inline!

Reproduced and working on a fix :)

shu8 commented 5 years ago

Fixed in dev 2.3.16 @parthi2929 :)

Sorry this took so long! Please let me know if this is working for you now! :)

parthi2929 commented 5 years ago

great, thank you :)