Posted July 7, 20223 yr Hello, is there way to automatically change the editor html code when you save a post/record? So for example, if in the editor I write Quote <p> Text 1 </p> When I save the post/record it will automatically be changed into Quote <p> <strong>Text 2</strong> </p> Thanks!
July 7, 20223 yr Community Expert You could use word filter in system->Settings->Posting, however you will struggle with it replacing code in that manner. it would be words only
July 7, 20223 yr Author 41 minutes ago, Marc Stridgen said: You could use word filter in system->Settings->Posting, however you will struggle with it replacing code in that manner. it would be words only Hello Marc, so the word filter does not accept html code?
July 7, 20223 yr Code would be difficult because you can’t control formatting. Things like spaces, tabs, etc all make parsing code almost impossible to do accurately. <b> This is a test </b> is different than <b>This is a test</b> Edited July 7, 20223 yr by Randy Calvert
July 7, 20223 yr Community Expert That is correct. It works with the output text, rather than the source
July 7, 20223 yr Author 6 minutes ago, Randy Calvert said: Code would be difficult because you can’t control formatting. Things like spaces, tabs, etc all make parsing code almost impossible to do accurately. <b> This is a test </b> is different than <b>This is a test</b> Yeah, but I would need only the text start with <b> This to be automatically changed into <b>This This is not possible to realize?
July 7, 20223 yr Community Expert As mentioned, this is not possible at present, as it looks at the text output, not the source.