Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bjorsq

    (@bjorsq)

    Hi JonStout,

    I can’t replicate this behaviour – it would be good if you could provide further information. I need the version of the plugin and the version of wordpress you are using.

    It would also be really good if you can look at the source code (actual code sent from the server) for the excerpt textarea field on your Add New page, and see if this is pre-filled with content from the previous post – this would eliminate a javascript related bug (which I suspect is what this may be).

    Thread Starter EA Media

    (@jonstout)

    Hi bjorsq,

    We’re running WP 3.5.1 and v1.2.1 of the Rich Text Excerpts Plugin.

    Here is what is visible in the “View Source” for the excerpt area after click “add new”:

    </div><div class="postbox rich-text-excerpt"><h3><label for="excerpt">Excerpt</label></h3><div class="rte-wrap"><div id="wp-excerpt-wrap" class="wp-core-ui wp-editor-wrap tmce-active"><div id="wp-excerpt-editor-tools" class="wp-editor-tools hide-if-no-js"><a id="excerpt-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">Text</a>
    <a id="excerpt-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">Visual</a>
    <div id="wp-excerpt-media-buttons" class="wp-media-buttons"><a href="#" class="button insert-media add_media" data-editor="excerpt" title="Add Media"><span class="wp-media-buttons-icon"></span> Add Media</a></div>
    </div>
    <div id="wp-excerpt-editor-container" class="wp-editor-container"><textarea class="wp-editor-area" rows="3" cols="40" name="excerpt" id="excerpt"><p>On paper and online.</p>
    <p>What's inside? Lots of lenses. New Cameras. More K and 4K. Filters and Facts. Ways to connect cameras, recorders, rigs and accessories. Things to move cameras, to illuminate, and ways to stand out. Rumors revealed. New Angénieux and Cooke Anamorphics. New Phantom 4K Highspeed Camera...</p>
    </textarea></div>
    </div>
    Plugin Author bjorsq

    (@bjorsq)

    OK, I’ll look into a way this can be fixed. The editor is passed content from the global post object – from the look of your reply, that global post object contains the previous post data (but I’m mystified why this would be the case).

    Plugin Author bjorsq

    (@bjorsq)

    OK, I still can’t replicate this behaviour. The code you posted is not the source of the page (the source would have the angle brackets of the code in the textarea escaped as HTML entities) – did you get this from a tool like firebug, or chrome developer tools? If so, these tools will show you the source code of the page as it currently stands (i.e. after any post-processing in scripts or by the browser) – I need to see the actual code sent by the server.

    I suspect this is a problem with the browser you are using rather than the plugin, so if you can replicate this behaviour in your setup using different browsers it would be useful (to eliminate this as a possibility). Also a list of other plugins you have activated may help me find the cause of the problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add New Custom Post Type Picks up Data from Previous Post’ is closed to new replies.