Closed chambas closed 5 years ago
Using the example (https://github.com/Zulko/eaglejs-demo/tree/master/src/slideshows/eagle-recipes), the subslide with the code eg-code-block(lang='html'). doesn't update. No matter what you write in there it always show the first block that it was render.
eg-code-block(lang='html').
Demo project will be updated shortly.
And regarding this issue?
Turns out to be a bug. Will fix this later.
https://github.com/Zulko/eagle.js/blob/3c42d5009ee48f65730f6057d615ff096414b6ab/src/components/widgets/CodeBlock.vue#L27
this.update should run in updated life cycle hook too.
this.update
updated
Please checkout the latest eaglejs-demo.
Using the example (https://github.com/Zulko/eaglejs-demo/tree/master/src/slideshows/eagle-recipes), the subslide with the code
eg-code-block(lang='html').
doesn't update. No matter what you write in there it always show the first block that it was render.