Hi All:
I haven't used Webuilder's macro facilities yet. Before I launch into that and end up in big mess, I'd like to know if the following task is viable to encode as a macro. I'm not asking anyone to spend their time on detailed steps, but I would like to know if my proposed task is (a) easy, (b) not-so-easy, (c) difficult to implement with Webuilder's macros.
In short, I want to use the new HTML5 tag <main> in my pages, replacing all the <div id = "content"> tags with <main> and -- here is the tricky bit-- replacing the matching </div> tags with </main>. So the tasks would be:
For each page:
1. Locate tag <div id = "content">. Replace it with <main>. Easy using Search > Replace in Files!
2. Find matching </div> tag. Replace it with </main>.
Ok: that's the part I have no idea about. I find this bit tricky enough even with "Edit > Select Tag Block". (I could have sworn that there was an "Edit > Find Closing tag" in earlier vsns of Webuilder. I must not be looking hard enough at the menus.)
Any suggestions?
Garry