SaltwaterC
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: HTML editor in 2.2?@lordavon: something is wrong into your configuration or the editor is still cached by the browser.
Anyway, TinyMCE is very configurable. You can add lots of plugins to it, plugins that are included into the default distribution package, and create the interface that you like.
Links:
https://tinymce.moxiecode.com/download.php – official distribution packages
https://wiki.moxiecode.com/index.php/TinyMCE:Index – official documentation
https://img233.imageshack.us/img233/7007/picture1uw9.png – my pimped setup with some extra plugins as exampleForum: Installing WordPress
In reply to: TinyMCE brokenBump … NOT!
The editor really is broken. Definition of broken: the ‘wordpress’ TinyMCE doesn’t load completely in the menu bar. The Advanced Toolbar button doesn’t appear. I’ve tested with the upgraded version that I have on my host, and alternatively with a fresh 2.2.1 one on my localhost test server. As the matter of fact, I didn’t see that button till using WordPress.com . I use WP, standalone, since 2.0.3. On WordPress.com I have the freakin’ button, while on the local version I don’t have it, and I can’t activate it, no matter how hard I modify the tiny_mce_config.php file. I discovered this while pimping my editor with some extra TinyMCE plugins, and I realized that the menu bar misses a button …PS: didn’t know where to post the feedback. If I can find a solution for the broken plugin, I’ll post it here.
Later edit: I fix it in my own style … activated the second menu bar, more logical organization of the menus items, and added two of my beloved TinyMCE plugins: preview and fullscreen. My solution is here:
https://wordpress.pastebin.ca/592734
If you wanna try it, replace the tiny_mce_config.php file with the pasted code, and upload ‘fullscreen’ and ‘preview’ plugins into the following directory:
wp-content/js/tinymce/plugins
You can find these into the original TinyMCE package available here:
https://tinymce.moxiecode.com/download.phpThe final implementation should look like this:
https://img215.imageshack.us/img215/7917/wpeditorpu8.pngForum: Everything else WordPress
In reply to: Validation errors caused by YouTube codehttps://www.4tm.com.ar/4tmsite/wordpress/?p=5 – this How-To explains how to convert the invalid code into a valid one by removing the embed tag, and properly use the object one. Of course, the other solution is Viper’s Video Quicktags ?? … The object + param solution works for any online flash content: YouTube, Google Video, Metcafe, etc. or a simple FileFactory broken flash player.
Forum: Fixing WordPress
In reply to: HTML editor in 2.2?It’s a TinyMCE thingy. The editor has built in a HTML editor, which has been turned off from the JavaScript configuration script. In a alternative way, TinyMCE can be turned on/off for a textarea, so this is what the Visual/Code buttons does: toggles on/off the rich text editor. In order to turn back on the HTML editor, search the following file: /wp-includes/js/tinymce/tiny_mce_config.php, search the $mce_buttons variable and add there a new value ‘code’ to the array parsed by the apply_filters(); function.
Example:
Default array: https://wordpress.pastebin.ca/586139
Pimped array: https://wordpress.pastebin.ca/586144You can see a new ‘code’ value in the array – that places the ‘HTML’ item in the editor’s bar at the end of the button list. You can control where to place the button, by inserting the ‘code’ value somewhere inside the array.