描述
This is a modified version (under the MIT License) of a plugin originally developed by Tierra Innovation for WNET.org.
This plugin extends the HTML functionalify of the WordPress kses.php file, which states the allowable HTML that the post/page content editor will accept. It allows the site administrator to check pre-defined HTML tags that can also be allowed via the editor. Tags include: object
, embed
, param
, iframe
, map
and extensions have been added to the div
and img
tags.
Keep in mind, that by checking a tag, you are making it acceptable to post said HTML and save it. If your users also post content, it is important that you make sure you are not enabling any malicious HTML from wreaking havoc to your environment. If there is a tag that is missing or that you would like us to add and support, feel free to leave a comment in our support area for this plugin.
安装
- Upload
extend-kses
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Check the boxes next to the HTML tag you wish to enable and click
save options
- Paste HTML code into the HTML version – NOT the visual version – of the post/page editor and save.
常见问题
- What tags are currently supported?
-
div
tag extended to allow forid
child tag.embed
tag is now fully supported, including the following children tags:style
,type
,id
,height
,width
,src
and the entireobject
tag (including children).iframe
tag is now fully supported, including the following children tags:width
,height
,frameborder
,scrolling
,marginheight
,marginwidth
andsrc
.img
tag extended to allow forusemap
child tag.map
tag is now fully supported, including the following children tags:name
andid
object
tag is now fully supported, including the following children tags:style
,height
,width
, the entireparam
tag (including children) and the entireembed
tag (including children).param
tag is now fully supported, including the following children tags:name
andvalue
pre
tag now fully supports Google Syntax Highlighter, including the following children tags:style
, ‘name’, ‘class’, ‘lang’ and ‘width’
Need more help? Support
评价
此插件暂无评价。
贡献者及开发者
更新日志
2.3
Added additional image map support