Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 7, 20222 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, 20222 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, 20222 yr Author 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, 20222 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, 20222 yr by Randy Calvert
July 7, 20222 yr Community Expert That is correct. It works with the output text, rather than the source
July 7, 20222 yr Author 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, 20222 yr Community Expert As mentioned, this is not possible at present, as it looks at the text output, not the source.