OK, this is probably too hard for me because I am not proficient in PHP and HTML. I do think, however, that if this functionality is to be implemented, some major changes in how section edits are handled are required.
Currently, section edit has two calls: startSectionEdit()
and finishSectionEdit()
. This implementation does not allow overlapping sections. To allow the functionality I desire, the structure holding sections would need to be a stack, so it works like following:
H1 <- start |
H2 <- start ||
H2 <- end, start | |
H3 <- start | |
H3 <- end, start | |
H2 <- end, end, start | |
EOF <- end, end | |
I don't think this would be too difficult, but I am simply not a web developer.