statamic / collaboration

Real-time, multi-user editing with Statamic via websockets
https://statamic.com/addons/statamic/collaboration
33 stars 13 forks source link

Multiuser: Code Fieldtype isn't blocked #17

Closed wiebkevogel closed 4 years ago

wiebkevogel commented 4 years ago

When a user edits a Code Fieldtype, it isn't blocked. Means a second user could access the same code block.

sauerbraten commented 4 years ago

That commit didn't fix it, we believe.

It still occurs on revision 3ecf44e8, which is the commit immediately after the fix.

jasonvarga commented 4 years ago

Did you compile and copy over the assets after checking out that commit?

wiebkevogel commented 4 years ago

Sorry our mistake. We wrapped the CodeFieldtype and forgot to add @blur and @focus. Now also works for us :)

jasonvarga commented 4 years ago

Cool :) Why did you need to wrap the code field?