Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
RocketStang Posted August 24, 2020 Posted August 24, 2020 Maybe I am missing something but I don't see a button in the post editor that toggles between rich text and raw/HTML format? Can I add this somehow?
RocketStang Posted August 24, 2020 Author Posted August 24, 2020 (edited) Would this setting allow members to post outside HTML or just alter the post HTML? Some members just want extra control of their posts...I do not want them to be able to upload HTML content to the forum! Edited August 24, 2020 by RocketStang
opentype Posted August 24, 2020 Posted August 24, 2020 If you give them access, anything goes. That’s the nature of the beast and that’s why it is so strongly discouraged to activate it.
RocketStang Posted August 24, 2020 Author Posted August 24, 2020 Yeah, I don't want that...LOL! On MyBB, the editor had a HTML formatting toggle button even if the members were NOT allowed to add HTML in posts. The toggle just allowed them to change H1 tags or center tags, colors and stuff like that...not to upload HTML scripts. You could toggle to HTML and grab the direct image link to a posted attachment if needed also. It was useful but probably not necessary.
Jim M Posted August 24, 2020 Posted August 24, 2020 5 minutes ago, RocketStang said: Yeah, I don't want that...LOL! On MyBB, the editor had a HTML formatting toggle button even if the members were NOT allowed to add HTML in posts. The toggle just allowed them to change H1 tags or center tags, colors and stuff like that...not to upload HTML scripts. You could toggle to HTML and grab the direct image link to a posted attachment if needed also. It was useful but probably not necessary. Font sizes, left/middle/right justifying text, etc... can all be done with the editor toolbar. Realistically, there is no need to allow members access to HTML as virtually all editor functions can be had in the toolbar similarly to MS Word. HTML should only be given to administrators or trusted individuals who in an extremely rare case need to do something elaborate with HTML. Editing in source HTML removes some validation which is done so it is only recommended to allow this for trusted individuals in rare circumstances. It is worth noting that BBCode (if you allow it in 4.5) will still be processed in Invision Community but upon submitted it will be transcribed in the database just like every other post. Meaning if you go back to edit that post in source, it will not be in BBCode but HTML.
Recommended Posts