It appears that the template codeblocks (/local—code_/1) are slow to update. I've built a little example to demonstrate this:
Once the page is saved, the three data-form values are correctly displayed in the page content. However, if you were to edit the values on the page - the data is not updated.
This can be seen in this page: (calculator:1) where the source has been updated to a multiplication operation — but the Javascript code (generated by a code block) still says it's a plus operation.
Thank you very much for reporting this. Indeed, there was an inconsistency in our application code. Some code-blocks "with templates" could not refresh properly when a page was updated.
This has been fixed and the code blocks are being updated instantly.
Michał Frąckowiak @ Wikidot Inc.
Visit my blog at michalf.me
Awesome, thanks :)
Kenneth Tsang (@jxeeno)