Jump to content


Photo

WYSIWYG-Editor html-insert problem


  • Please log in to reply
2 replies to this topic

#1 Jay

Jay

    Newbie

  • Members
  • Pip
  • 2 posts
  • 0

Posted 06 May 2012 - 03:03 PM

Hi,

I'm new to ProcessWire and like it from the beginning :)

Actually I have a "problem" with the text-editor in the bodypart of a site and the textarea-editor.
On my actual website I use something like that:


<span style="color: #007ec7; font-weight: bold; font-style: italic;" title="dem @ folgend jeremykeppel.com anfügen">email@…</span>


So I select the html-button and insert this code. But everything will disappear except "email@" after clicking "update".*
I try insert ",forecolor,backcolor,formatselect" in the "theme_advanced_buttons1"-Area to solve the problem, but it doesn't help. No colour is accepted.
Toghether I insert this options also in the field "valid_elements". But nothing will help.

I can select colours, but after showing it the html-editor-format or after saving it's gone.

Can anybody help me, finding a solution or the can give a clue?

gretting,
Jay

*This also happens, if I insert any other html-tag like "<hr>".

#2 Soma

Soma

    Hero Member

  • Moderators
  • 3,421 posts
  • 1944

  • LocationSH, Switzerland

Posted 06 May 2012 - 04:02 PM

When I add "span[style|title]" in the valid_elements of the fields tinymce advanced settings it works.

@somartist | modules created | support me, flattr my work flattr.com


#3 Jay

Jay

    Newbie

  • Members
  • Pip
  • 2 posts
  • 0

Posted 15 May 2012 - 03:01 PM

Thanks, it works now!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users