dissidia Posted June 29, 2017 Share Posted June 29, 2017 My community uses a quite elaborate design on Pages. It's initially designed by me, the admin, using css classes and ids. When I opened up editing to the general public, however, we've seen Pages strip the css classes as users saved their updates. So my question would be, are we doomed to break down the classes and apply all the styles individually (which you can probably imagine how much of a chore that will be) or is there any workaround? Not sure If I'm missing anything as to making this easier. Link to comment Share on other sites More sharing options...
opentype Posted June 29, 2017 Share Posted June 29, 2017 You need to whitelist your CSS classes in the advanced editor settings in the ACP. Link to comment Share on other sites More sharing options...
dissidia Posted June 29, 2017 Author Share Posted June 29, 2017 !!! THANK YOU! Will any of these allows work for div ids as well? Link to comment Share on other sites More sharing options...
opentype Posted June 29, 2017 Share Posted June 29, 2017 Not sure what you mean. What have div IDs to do with it? Link to comment Share on other sites More sharing options...
dissidia Posted June 29, 2017 Author Share Posted June 29, 2017 I mean does this apply to block ids - we have them but haven't tested yet if they're stripped as well. Link to comment Share on other sites More sharing options...
opentype Posted June 29, 2017 Share Posted June 29, 2017 I don’t know. Doesn’t sound like a good idea to use IDs in posts users can edit. Link to comment Share on other sites More sharing options...
dissidia Posted June 29, 2017 Author Share Posted June 29, 2017 Do you have any other idea as for how to link to a specific part of a page? Because that's why I assigned IDs (e.g. invisioncommunity.com/forums/topic/438770-custom-html-in-pages#here) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.