gs Posted January 10, 2011 Share Posted January 10, 2011 Hi, i have a problem..Product page's text editor doesn't work.I write commonly but the cursor locks into that positionWhen I press the space key, the cursor jump to the next line.which may be the possible solutions?I replace the folder "JS" but didn't work.Please, help.Sorry for my bad english!Thanks Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 What browser are you using? Link to comment Share on other sites More sharing options...
gs Posted January 15, 2011 Author Share Posted January 15, 2011 Google Chrome!Recently I tried in internet explorer, it works fine!I have another store and use Google Chrome, it works fine!But I use Google Chrome because Prestashop works in Google Chrome better than other browsersHow I can solve this problem? Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 I see you are using PrestaShop v1.3.2. I know that PrestaShop v1.3.4 added an updated TinyMCE version, so perhaps if you upgrade to PrestaShop v1.3.6, it will work? Link to comment Share on other sites More sharing options...
gs Posted January 16, 2011 Author Share Posted January 16, 2011 I just upgraded TinyMCE but still have problems.The problem of the icons I solved with this update of TinyMCE, but the text still doesn't work.Just let me write 7 characters per line, the cursor stays in position 7I think the problem is not TinyMCE, but one line of code that is with bad references.Tinymce not have a very good compatibility with Google Chrome?I don't knowAny ideas? Link to comment Share on other sites More sharing options...
gs Posted January 16, 2011 Author Share Posted January 16, 2011 Rocky:I entered the javascript console that has Google Chrome and appear the following errors:Uncaught TypeError: Cannot set property 'innerHTML' of null /js/price.js:25 Link to comment Share on other sites More sharing options...
rocky Posted January 17, 2011 Share Posted January 17, 2011 It seems that line is trying to set the innerHTML to null, which it shouldn't be. It seems Google Chrome is throwing an exception when you try to do that, whereas other browsers are just ignoring the error and doing nothing. I suggest trying to figure out why the value is null. Link to comment Share on other sites More sharing options...
gs Posted January 17, 2011 Author Share Posted January 17, 2011 I found a possible solution on the web:http://www.google.com/support/forum/p/Chrome/thread?tid=4861d2b2c6c2a96a&hl=enI don't know how.Do you understand? Link to comment Share on other sites More sharing options...
rocky Posted January 18, 2011 Share Posted January 18, 2011 I think it's saying that the script is being executed before the HTML element has been created in the DOM, causing an error. Try upgrading to the latest version of Google Chrome. I just opened my website using Google Chrome 8 and TinyMCE is working fine. Link to comment Share on other sites More sharing options...
gs Posted January 18, 2011 Author Share Posted January 18, 2011 The problem persists ..I have installed the latest version of Google Chrome.Is there any way to change the text editor?Perhaps another text editor works well. Link to comment Share on other sites More sharing options...
rocky Posted January 19, 2011 Share Posted January 19, 2011 There is no easy way to change the text editor. It would involve modifying lots of code. See here. Link to comment Share on other sites More sharing options...
gs Posted January 20, 2011 Author Share Posted January 20, 2011 Hi Rocky, I found the problem.I change the template and the text editor works!The unmodified template works perfectly but I did change ..How I can know which template's file they may cause this problem?I don't want to lose all the changes I made to the template.For there are many.Maybe, you know which file's code is associated with the text editor. Link to comment Share on other sites More sharing options...
rocky Posted January 20, 2011 Share Posted January 20, 2011 It's the /* global RTE fields */ section of global.css that is used by TinyMCE. Link to comment Share on other sites More sharing options...
gs Posted January 20, 2011 Author Share Posted January 20, 2011 /* global RTE fields */ div.rte, .mceContentBody { text-align: left; background: #FCFCFC; color: black } body.mceContentBody { margin: 9px 6px; width: 556px } div.rte html, div.rte div, div.rte span, div.rte applet, div.rte object, div.rte iframe, div.rte h1, div.rte h2, div.rte h3, div.rte h4, div.rte h5, div.rte h6, div.rte p, div.rte blockquote, div.rte pre, div.rte a, div.rte abbr, div.rte acronym, div.rte address, div.rte big, div.rte cite, div.rte code, div.rte del, div.rte dfn, div.rte em, div.rte font, div.rte img, div.rte ins, div.rte kbd, div.rte q, div.rte s, div.rte samp, div.rte small, div.rte strike, div.rte strong, div.rte sub, div.rte sup, div.rte tt, div.rte var, div.rte dl, div.rte dt, div.rte dd, div.rte ol, div.rte ul, div.rte li, div.rte fieldset, div.rte form, div.rte label, div.rte legend, div.rte table, div.rte caption, div.rte tbody, div.rte tfoot, div.rte thead, div.rte tr, div.rte th, div.rte td, .mceContentBody html, .mceContentBody div, .mceContentBody span, .mceContentBody applet, .mceContentBody object, .mceContentBody iframe, .mceContentBody h1, .mceContentBody h2, .mceContentBody h3, .mceContentBody h4, .mceContentBody h5, .mceContentBody h6, .mceContentBody p, .mceContentBody blockquote, .mceContentBody pre, .mceContentBody a, .mceContentBody abbr, .mceContentBody acronym, .mceContentBody address, .mceContentBody big, .mceContentBody cite, .mceContentBody code, .mceContentBody del, .mceContentBody dfn, .mceContentBody em, .mceContentBody font, .mceContentBody img, .mceContentBody ins, .mceContentBody kbd, .mceContentBody q, .mceContentBody s, .mceContentBody samp, .mceContentBody small, .mceContentBody strike, .mceContentBody strong, .mceContentBody sub, .mceContentBody sup, .mceContentBody tt, .mceContentBody var, .mceContentBody dl, .mceContentBody dt, .mceContentBody dd, .mceContentBody ol, .mceContentBody ul, .mceContentBody li, .mceContentBody fieldset, .mceContentBody form, .mceContentBody label, .mceContentBody legend, .mceContentBody table, .mceContentBody caption, .mceContentBody tbody, .mceContentBody tfoot, .mceContentBody thead, .mceContentBody tr, .mceContentBody th, .mceContentBody td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline } div.rte h1, div.rte h2, div.rte h3, div.rte h4, div.rte h5, div.rte h6, .mceContentBody h1, .mceContentBody h2, .mceContentBody h3, .mceContentBody h4, .mceContentBody h5, .mceContentBody h6 { margin: 0.75em 0 0.3em 0; color: #374853 } div.rte h1, .mceContentBody h1 { font-size: 25px; font-weight: bold } div.rte h2, .mceContentBody h2 { font-size: 20px; background: none; text-transform: none; height: auto } div.rte h3, .mceContentBody h3 { font-size: 16px } div.rte h4, .mceContentBody h4 { font-size: 14px } div.rte h5,.mceContentBody h5 { font-size: 12px } div.rte h6, div.rte h6 { font-size: 8px } div.rte ol, .mceContentBody ul, div.rte ol, .mceContentBody ul { padding-left: 2em } div.rte ul, .mceContentBody ul { list-style-type: square; margin-left: 10px } div.rte strong, .mceContentBody strong { font-weight: bold } div.rte em, .mceContentBody em { font-style: italic } /* tables still need 'cellspacing="0"' in the markup */ div.rte table,.mceContentBody table { border-collapse: separate; border-spacing: 1px; width: auto } div.rte caption, div.rte th, div.rte td, div.rte table, .mceContentBody caption, .mceContentBody th, .mceContentBody td, .mceContentBody table { text-align: left; font-weight: normal; background: none; height: inherit; border: 1px #e5e6e7 solid; text-align: center } div.rte th, .mceContentBody th { padding-left: 1em; padding-right: 1em; background: #e5e6e7 } #center_column div.rte p, .mceContentBody p { padding-left: 0; margin: 0.5em 0 } div.rte ol, .mceContentBody ol { list-style-type: decimal; margin-left: 10px } /* /global RTE fields */ wrong? Link to comment Share on other sites More sharing options...
rocky Posted January 21, 2011 Share Posted January 21, 2011 Looks fine to me, though yours has a different background colour than mine at the top. My is white and yours is #FCFCFC. Link to comment Share on other sites More sharing options...
gs Posted February 1, 2011 Author Share Posted February 1, 2011 hi, Be solved alone. Strange!Thanks for all Rocky. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now