Keyword

[SOLVED] Need help with text filters

  • foothillweb
  • foothillweb's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #117037 by foothillweb
[SOLVED] Need help with text filters was created by foothillweb
Hello, can you explain how to filter out tags from K2 articles? I'm trying to prevent my bloggers from adding fancy html that gets pasted in from Microsoft Word. Joomla text filters don't seem to have any effect on the K2 articles.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 1 month ago #117038 by Yiota
Replied by Yiota on topic Re: Need help with text filters
If you use JCE editor you could control the pasted tags from its configuration.
If not, you can use K2 Content Cleanup through General Parameters > Content and disable them from showing in the frontend.

Please Log in or Create an account to join the conversation.

  • foothillweb
  • foothillweb's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117039 by foothillweb
Replied by foothillweb on topic Re: Need help with text filters
Thanks for your response. The K2 filtering doesn't seem to be working when I log in as that administrator. I can't upload a screenshot but here are my settings. I'm trying to prevent use of style tags (for the other admins, not me), like text-align:justify;

Introtext HTML cleanup (tag strip) - YES

Enter which HTML tags not to strip in introtext - (NONE)

Enter which HTML tag attributes to strip in introtext - STYLE

Fulltext HTML cleanup (tag strip) - YES

Enter which HTML tags not to strip in fulltext - BASIC HTML TAGS

Enter which HTML tag attributes to strip in fulltext - STYLE

XSS filtering on save - DISABLED
Attachments:

Please Log in or Create an account to join the conversation.

  • foothillweb
  • foothillweb's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117040 by foothillweb
Replied by foothillweb on topic Re: Need help with text filters
Okay, wait, now I get it. The code is retained in the file but it doesn't display on the page. Okay, I guess that will do. Thanks.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum