Hi,
I'm trying to make some changes to the editor but I don't know if that would take a lot of hacking or could be a simple change.
I need a very semantic interpretation in the behavior of the editor so lets say that I write something, make it a list and then change the format to h1, that changes the the text in the list (<li>) to a heading, becoming <li><h1>text..</... which arguably doesn't make much sense "semantically", a sentence can be a title or part of a list but not both (at least in my application, it probably makes sense everywhere else).
Actually, when applying a list to a text that is a heading it behaves the way I'm looking for, it gets ridden of the heading and leaves only the list.
What should I change or where can I start looking to changes the formats to behave like the list (apply it's tags and erase the others)?
P.S. Sorry for my English.
I'm trying to make some changes to the editor but I don't know if that would take a lot of hacking or could be a simple change.
I need a very semantic interpretation in the behavior of the editor so lets say that I write something, make it a list and then change the format to h1, that changes the the text in the list (<li>) to a heading, becoming <li><h1>text..</... which arguably doesn't make much sense "semantically", a sentence can be a title or part of a list but not both (at least in my application, it probably makes sense everywhere else).
Actually, when applying a list to a text that is a heading it behaves the way I'm looking for, it gets ridden of the heading and leaves only the list.
What should I change or where can I start looking to changes the formats to behave like the list (apply it's tags and erase the others)?
P.S. Sorry for my English.