x First time here? Check out the FAQ
  • Avatar37posts58karma

    Pasting from word (tinymce3) not working correctly in version 4.6.1

    Samuel Hamer started this topic More than a year ago , this topic was edited at: Tuesday, January 10, 2012 2:46 PM, Go directly to the topic solution

    Hello, first time poster.

    Is anyone else having problems with the latest build when it comes to pasting content from word?

    The paste from word form opens and allows me to copy (or type) into it but when I ask it to post it returns to the RT box without taking any content in.  Firebug didnt find any JS errors and doing the same with different browsers (and through desperation O.S') seems to have no affect.  As a last resort I created two new vanila builds, one with the 'basic' starter kit and one with no starter kit, both are on different locations (one on a server, one on my local machine) and both have exactly the same problem.

    Most odd... any ideas?


  • Replies

  • Avatar3782posts5777karma
    admin Comment with ID: 61393
    Jan Skovgaard posted this reply More than a year ago

    Hi Samuel

    I have never really experienced the paste from word functionality to be working stable in any version. Don't know if it has been working properly with 4.5 release since I tend to copy content into notepad (both from word or the web etc.) and then into Umbraco or whatever CMS I'm working with. (I have tried on a couple of other CMS'es that provided this functionality as well that did not work stable either). Therefore I'm using this approach.

    I know that it does not directly answer your question but I hope it can be used as a workaround.

    /Jan


  • Doug Mackay posted this reply More than a year ago

    Seems to be bug in the paste plugin in 4.6.1

    Edit 'umbraco_client\tinymce3\plugins\paste\editor_plugin_src.js' change line 319

    var umbracoAllowedStyles = this.editor.getParam('theme_umbraco_styles');

    to

    var umbracoAllowedStyles = ed.getParam('theme_umbraco_styles');

    Edit: Looks like this has been fixed in Change Set 232536a1e45c on codeplex.


  • Samuel Hamer posted this reply More than a year ago

    Thank you both, that did work Doug.  Suprised that didn't flag an error to be caught by firebug.  All gravy now though.


  • Doug Mackay posted this reply More than a year ago

    It got flagged for me as an error for me in firebug. Think it was listed as 'this.editor is not defined' in the firebug console.


  • Avatar379posts414karma
    Comment with ID: 61767
    Dan Diplo posted this reply More than a year ago

    Thank you, Doug, you just saved my bacon!


  • Avatar142posts165karma
    Comment with ID: 65258
    Jennifer Killingsworth posted this reply More than a year ago

    I'm having the same problem, but when I tried this solution it didn't resolve the problem.

    I edited the web.config as well as recycling the application pool ... no dice.

    .......

    Ok, now it mysteriously started working.

     

     


  • Avatar379posts414karma
    Comment with ID: 65354
    Dan Diplo posted this reply More than a year ago

    Jennifer, the javascript gets cached by your browser, so changes don't always take place until your browser cache is refreshed. Same happened to me until I forced a refresh.


  • Avatar700posts230karma
    Comment with ID: 65871
    Greg posted this reply More than a year ago

    Thanks Doug, that fixed it for me... both pasting into the word popup, and into the RTE itself :)


  • Avatar1832posts2265karma
    Comment with ID: 67188
    Rich Green posted this reply More than a year ago

    Thanks, sorted this for me too, hope this gets into 4.7


  • Doug Mackay posted this reply More than a year ago

    It's been fixed on codeplex so it will be included in 4.7


Pages:

Please login or Sign up To post replies