Support Forum
This is a newish issue - that showed up after a recent upgrade.
It seems to highlight CSS just fine - an example from today - http://www.byobwebsite.com/for.....ge/#p25651
But fails entirely with PHP - an other example from today - http://www.byobwebsite.com/for.....ge/#p25653
I have tried deleting it and redoing it several times, including inserting the code into a blank post, but nothing seems to work.
Upgrade of what? Are you using latest SP and latest tinymce and syntax highlighting plugin?
Any other plugins that format page content? Does your theme or other plugin add any buttons to wp editor? The fact much or all of our inserted html and css are getting stripped is suspicious...
As Andy said, this plugin is very popular with no other reported issues and we use it almost daily here.... Not saying you are not having an issue, but it's not a systemic one so need to identify what is going on locally for you..
Visit Cruise Talk Central and Mr Papa's World
Yeah, I'm sorry - upgrade of SP and all of the related plugins.
No, I don't use any TinyMCE editor related plugins - A couple of plugins do add buttons to the post editor - but not the forum editor.
I'll troubleshoot this further by deactivating all other plugins to see what happens and post the results back here.
Please do check these. We have encountered several plugins that add items to the tinyMCE editor (i.e., for the blog post creation side) where the authors have not taken into consideration the editor can also be used on the front-end and their code has caused problems with the editor's use within Simple:Press. They often seem to hook it into the WP 'init' hook where it should be the 'admin_init' hook for example.
Also feel free to paste some code here and try the highlighter as a test run.
YELLOW
SWORDFISH
|
This appears to have something to do with pasting. For example the code below doesn't get the pre sf-brush tag added to it when I paste. Although if I type it directly it works just fine.
* Wishlist Member Login Widget
********************************************************************/
.WishListMember_Widget .widget-title {
margin: 0 0 15px 0;
}
.custom #wlmember_loginwidget label input
{
margin-bottom:5px;
}
.custom #wlmember_loginwidget input[type=submit] {
color: #fff;
background: #0e426c;
border-left: 1px solid #7ab7e8;
border-top: 1px solid #7ab7e8;
border-right: 1px solid #084577;
border-bottom: 1px solid #084577;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
height:25px;
width:100px;
cursor:pointer;
}
.custom #wlmember_loginwidget input[type=submit]:hover {
border: 1px solid #555;
background: #7f7e7d;
}
Here's a test to go along with the video
* Wishlist Member Login Widget
********************************************************************/
.WishListMember_Widget .widget-title {
margin: 0 0 15px 0;
}
.custom #wlmember_loginwidget label input
{
margin-bottom:5px;
}
.custom #wlmember_loginwidget input[type=submit] {
color: #fff;
background: #0e426c;
border-left: 1px solid #7ab7e8;
border-top: 1px solid #7ab7e8;
border-right: 1px solid #084577;
border-bottom: 1px solid #084577;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
height:25px;
width:100px;
cursor:pointer;
}
.custom #wlmember_loginwidget input[type=submit]:hover {
border: 1px solid #555;
background: #7f7e7d;
}
1 Guest(s)