Jump to content

[SOLVED] the text editor doesn't work!


gs

Recommended Posts

Hi, i have a problem..
Product page's text editor doesn't work.

I write commonly but the cursor locks into that position
When 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

36587_25VxubldHjo6cEn6h15c_t

Link to comment
Share on other sites

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 browsers
How I can solve this problem?

Link to comment
Share on other sites

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 7

I 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 know

Any ideas?

Link to comment
Share on other sites

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

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

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

/* 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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...