tinymce editing in front broken

More
10 years 8 months ago - 10 years 8 months ago #38320 by ivan.milic
Insted:

#adminForm INPUT,
#adminForm SELECT,
#adminForm TEXTAREA{
display:block!important;
}

try:

#adminForm INPUT,
#adminForm SELECT{
display:block!important;
}
Last edit: 10 years 8 months ago by ivan.milic.

Please Log in to join the conversation.

  • larry
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 8 months ago #38322 by larry
That didn't work ,but I may have found a fix. In template.css.css on line 32 is this code:

input.ui-input-text, textarea.ui-input-text {
display:inline !important;
background:#f3f3f3 !important;
}

That seems to be overriding the display:block in the code you gave me. If I remove !important from the code above, the html text box in the editor goes away and the Toggle Editor functions as it should. Will removing that harm any other functionality on the site? I tried the Contact Us and the text boxes seem to work.

Please Log in to join the conversation.

  • larry
    Inactive member
  • Topic Author
  • Member
  • Member
More
10 years 8 months ago #38325 by larry
This is a summary of the problems with the blocks template front end tinymce edit function, and fixes.

There were actually three problems:

1. Bottom buttons didn't work
2. Html box was always showing
3. Popup box for inserting an image was not css formatted

Here are the fixes for all those (so far, it seems):

1. Add

#adminForm INPUT,
#adminForm SELECT {
display:block!important;
}

to bottom of template_css.css

2. In template_css.css on line 32 is this code:

input.ui-input-text, textarea.ui-input-text {
display:inline !important;
background:#f3f3f3 !important;
}

Remove: !important

3. Take of copy of component.php from protostar template and put it into hot_blocks template folder

4. Take a copy of template.css from protostar/css folder and put it into hot_blocks/css folder
The following user(s) said Thank You: ivan.milic

Please Log in to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum