twick
Forum Replies Created
-
Forum: Hacks
In reply to: WordPress 3.3 breaks wp_tiny_mce(()jbmw look at the “tinymce” setting http://codex.wordpress.org/Function_Reference/wp_editor
Looks like you can pass setting directly to tinymce.
So it would be something like
<?php $tinymcesetting = array("theme_advanced_buttons1" => "bold,italic,underline,separator,bullist,numlist,separator,undo,redo"); wp_editor( $content, $editor_id, array("tinymce" => $tinymcesettings)); ?>Actually… scratch all that just do this with the code you already have;
wp_editor( $content, $editor_id, array(“tinymce” => $a));
Forum: Hacks
In reply to: WordPress 3.3 breaks wp_tiny_mce(()Never mind… I just did a /facepalm.
Just realized I was in HTML mode when adding text… so “wpautop”=> false works like a charm.I appreciate the assist.
Forum: Hacks
In reply to: WordPress 3.3 breaks wp_tiny_mce(()Yeah, I tried that. Didnt work. I’ll look at the arguments
<?=wp_editor( @$_POST[‘content’], “content”, array(“wpautop”=> false))?> (also tried putting “false” in quotes.)
Forum: Hacks
In reply to: WordPress 3.3 breaks wp_tiny_mce(()@rev
Thanks! I am using wp_editor instead and it works great. I appreciate the link. Lots of good info there.While we are on the topic, is there an easy way to stop the editor from stripping the paragraph tags?