-
AuthorPosts
-
May 21, 2014 at 6:44 pm #268140
Hi
Since I use the plugin WPML Translation Management, I’m not able to make line breaks within a table anymore! As soon as I deactivate that plugin, it works again. Very strange.Pleas help.
May 22, 2014 at 4:05 am #268423Hey baiker!
Thank you for visiting the support forum!
That is strange indeed. Do you mind if we take a look at the actual page with the issue? If possible post the login details here and set it as a private reply so that we can inspect it.
Cheers!
IsmaelMay 22, 2014 at 9:04 am #268495Hi Ismael
Thanks for answering.
WPML support will have a look on it first. If they don’t find the problem, I’ll return to you.
RenéMay 22, 2014 at 9:23 am #268503Hi!
Ok, I’ll leave this thread open in case the WPML support can’t solve the problem.
Best regards,
PeterMay 24, 2014 at 12:14 pm #269475This reply has been marked as private.May 26, 2014 at 6:44 pm #270198Hi!
I’ll forward this to Kriesi. I couldn’t find any obvious js error/conflict on the editor page and it seems like the translation plugin simple blocks the enter key event. As a temporary solution I recommend to use the
<br/>
html tag if you want to add a line break.
Regards,
PeterJune 8, 2014 at 7:54 pm #276265Any news in this case?
RenéJune 8, 2014 at 9:05 pm #276273Hey!
After checking the code in wp-content/plugins/wpml-translation-management/res/js/scripts.js I think this code:
jQuery(document).delegate('.icl_tm_auto_suggest_dd', 'keydown', function(e){ if(e.which == 13){ icl_tm_users_quick_search.select(jQuery(this).val()); e.preventDefault(); } });
is the culprit. If I remove the e.preventDefault(); line like
jQuery(document).delegate('.icl_tm_auto_suggest_dd', 'keydown', function(e){ if(e.which == 13){ icl_tm_users_quick_search.select(jQuery(this).val()); } });
the enter key starts to work. I can’t tell you why this line breaks our theme though because we don’t add the icl_tm_auto_suggest_dd class to any of our theme elements. Maybe try to contact the WPML dev team and ask them to check the js code.
Cheers!
PeterJune 11, 2014 at 11:24 am #277481Hi Peter
I got this answer from WPML support. So you may close this taskt. Thanks for help!!
Dear Rene,
I managed to replicate the error following the steps and comparing with your website.
I’ll report this to our developers.
Thanks for reporting this.
I’ll close this topic. When the solution is implemented, I’ll let you know.
Thank you. -
AuthorPosts
- The topic ‘WPML Translation management – linebreaks in tables not longer possible’ is closed to new replies.