Hello,
I need to be able to split multiple block level elements, and have been having a lot of problems with it.
If I have a structure like: "div > p > strong > em > u" and I click page break, which has as part of it "range.splitBlock( 'p' );" it will split the u, em, strong and p, but I also need it to split the div as well.
I've tried pretty much everything I can think of, from using splitBlock('div') to modifying the walker to go back to the div level to manually editing the dtd.js to remove p as a block level element.
Does anyone have any insight on this?
Thank you.
I need to be able to split multiple block level elements, and have been having a lot of problems with it.
If I have a structure like: "div > p > strong > em > u" and I click page break, which has as part of it "range.splitBlock( 'p' );" it will split the u, em, strong and p, but I also need it to split the div as well.
I've tried pretty much everything I can think of, from using splitBlock('div') to modifying the walker to go back to the div level to manually editing the dtd.js to remove p as a block level element.
Does anyone have any insight on this?
Thank you.
Re: Multiple level splitBlock
It doesn't work inside of a table yet, but other than that, it seems to be good.