我正在尝试将表格从Google电子表格复制到wordpress编辑器(Tinymce)。表格将被复制, 但会删除表格标题颜色, 背景颜色。
- 还安装了TinyMCE Advanced插件。
- 也尝试过以下
`
function prevent_deleting_pTags($init){
$init['wpautop'] = false; //had given true|false
$init['paste_as_text'] = false;//had given true|false
return $init;
}
add_filter('tiny_mce_before_init', 'prevent_deleting_pTags');`
这可以在WordPress编辑器中进行。我确实想坚持使用wordpress编辑器(Tinymce), 而不想使用第三方插件。
#1
你要复制的表可能具有单独的样式表, 该样式表不会被复制。你可能只复制HTML(而不是CSS样式)。这样, 和/或你可能已有覆盖样式的表格。
来源:
https://www.srcmini02.com/66099.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37151.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57