4 ms·
> To add mechanism of templates and wizards to pre-generate content. That would be great if it supported 'library' blocks of HTML, then you could later edit th
by ss64 8y ago
> To add mechanism of templates and wizards to pre-generate content.
That would be great if it supported 'library' blocks of HTML, then you could later edit the library definition and all the related pages would update, in effect doing a Find and Replace for a text block of code within all the HTML files in a folder.
- c-smile 8y agoI was thinking about custom widgets too (seems like your idea is somehow close to them). Widget here is a class of custom DOM elements that knows how to represent itself by HTML means. Such classes constitute that 'library' of yours, AFAIU. When you load document containing such widget, the class instantiated and it can check HTML structure it gets assigned to and morph content if needed. So it is a matter of loading/saving the document to get updated structure.