Automatically add after X number of paragraphs
The concept Adding something to the content during saving and considering all sorts of possible MarkUp isn’t an easy task. I played around a bit with it and decided that the best chance would be to use PHP native \DOMDocument class to parse the content, identify the paragraph and add the HTML comment to it. … Read more