New TinyMCE Editor (w/ bug fixes!)

This topic is: not resolved

This topic contains 17 replies, has 13 voices, and was last updated by  michaelworks 2 years, 1 month ago.

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #158657

    sc0ttkclark
    Keymaster
    Post count: 793

    BUG FIX!!! Links are getting replaced with ../ instead of the domain it was linked to. The fix is using this code on step 3:<pre>/*

    Textarea box

    */
    elseif (‘desc’ == $coltype)
    {
    ?>
    <textarea class="form desc <?php echo $name; ?>" id="desc-<?php echo $name; ?>"><?php echo htmlspecialchars($value); ?></textarea>
    <script type="text/javascript">
    <!–
    tinyMCE.init({
    theme : "advanced",
    skin:"wp_theme",
    mode : "exact",
    elements : "desc-<?php echo $name; ?>",
    convert_urls : false,
    width : "100%",
    height : "250",
    theme_advanced_toolbar_location:"top",
    theme_advanced_toolbar_align:"left"
    });
    –>
    </script>
    <?php
    }</pre>

    #158658

    jonahcoyote
    Participant

    Works for me! Thanks!

    #158659

    Rob Barrett
    Member

    Unfortunately, I’m getting problems with this. Yes, these code changes do let me use TinyMCE with Pods, but at the same time, it ruins the dialog boxes for TinyMCE Advanced on the ‘Edit Page’ page.

    For example: http://www.creativesports.co.uk/rob/smlpoole/tinymce-advanced-dialogue.png

    The problem is in the changes that we’re making in init.php. I’m not sure how to fix it though.

    Does anyone have any idea of a solution?

    #158660

    logikal16
    Member

    @sc0ttkclark – any chance you could make TinyMCE as an input helper?

    #158661

    sc0ttkclark
    Keymaster
    Post count: 793

    @ctiggerf – I had that issue too, the best I could do so far was to just get the editor itself working. I’ll eventually get into getting the rest going.

    @logikal16 – I’ll look into making this an input helper :-)

    #158662

    Bransin
    Member

    Beware, I encountered several problems after going through these steps installing TinyMCE Editor. The same thing occured after deciding to give it a fresh start. I still encountered the same problems.

    • Any "date" column created will not appear the calendar onclick when adding an item.
    • The code column appears as a pick column when adding an item.
    • If more than 1 file upload column is in a pod, the second column completes itself with the same value as the first file column when adding an item.
    #158663

    volomike
    Member

    I prefer nicEdit to TinyMCE. It’s thinner and has less mess to go through to fix things. I was glad to see that Pods uses nicEdit by default.

    However, while on that topic, nicEdit inside Pods has some quirks. For instance, randomly nicEdit wants to show me a 100px width. I refresh and it displays properly. Also, the font menu is cut off, and the "http" in the Add Image dialog is cut off where I only see the tops of each character. (Note I’m using FF3 on Ubuntu Linux, but I’ve also seen some of these problems on Windows Vista in the various browsers like IE, Opera, Safari, Chrome, and FF.)

    #158664

    morgan
    Member

    Thanks for that code. Is the plan for Pods in the future to move to TinyMCE as the editor of choice?

    Also, if I patch my Pods plugin with this code, what would you recommend as the best way to prevent a new Pods update from blowing it away? Or will the next official update contain these patches anyway?

    #158665

    logikal16
    Member

    Regardless of which editor is the default, both will be available.

    One way to preserve Pods from overwriting local changes is to disable the plugin update check. http://wordpress.org/extend/plugins/disable-wordpress-plugin-updates/

    #158666

    Hi… has anybody tried this with the latest version of pods? It doesn’t seem to work on later versions at all. Which makes me want to cry like a little girl. Any ideas?

    #158667

    sc0ttkclark
    Keymaster
    Post count: 793

    I’m working on a new revision of this, and so far my testing is working out greatly. I’m getting an issue related to multiple editors on the same page though, I’ve posted it to the WordPress Trac:

    http://core.trac.wordpress.org/ticket/11862

    #158668

    kaiiser
    Member

    @scott & @logikal: i´m (still) completely with @volomike. could tinymce stay as input-helper package or might you think about offering an option to choose between nicedit/tinymce?

    #158669

    Jim Isaacs
    Member

    @sc0ttkclark
    Is this issue with the editor in general, or with WP 2.9.1 ?

    #158670

    sc0ttkclark
    Keymaster
    Post count: 793

    WP 2.9.1 definitely

    #158671

    Kazimi
    Member

    it isn’t working anymore in the newest version of Pods with the newest version of WordPress, am I right?

    The textbox doens’t appear, (the menu do) and the bottons doesn’t do anything.

Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting