HTML Formatting removed when saving a post

Avatar
  • updated
  • Not a bug
I added some color to one of my post using <font color= "blue"></font> in the html editor. It seemed to work when I came back to regular editing mode, but when I posted the post, all formatting was gone.
Pinned replies
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Under review
Hello Yan.
It is not a bug. We are filtering tags which not allowed for us.
Please tell where do you want to use it (topic or html block) and we will try to do something for you.
Avatar
Sergey Stukov co-founder
  • PINNED
  • Not a bug
Quote from Clinton Coney
Done.

Thanks Sergey.
You can check provided topic now. 

We added link with color class and put class definition in your custom CSS section. Find out it at the bottom part of your custom CSS.

/* Custom link colors added by UE team */
.ue-content .link-red{color:#ff0000};
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Under review
Hello Yan.
It is not a bug. We are filtering tags which not allowed for us.
Please tell where do you want to use it (topic or html block) and we will try to do something for you.
Avatar
Clinton Coney
Hi Vladimir, 

I work with Yan and we are both experiencing the same issue.

For instance, I am trying to customise a page's layout so that we can direct people to certain areas from the default forum page.

I have been having issues with Font tags too and the Color component being stripped.

Below is an example of some code that I have tried to use which then gets stripped of color tags and some others.

This is in the "Custom Text" module.

<u style="font-weight: bold;"><strong>Forums</strong></u><br>
<br>
<ul>
<li><strong><a href="/forum/19292-micromine/" target="_blank"><font color="#387C2B">Micromine</font></a><br/>
</strong></li>
<li><strong><a href="/forum/30083-micromine-beta/" target="_blank"><font color="red">Micromine BETA</font></a><br/>
</strong></li>
<li><strong><a href="/forum/19297-geobank/" target="_blank"><font color="#0081C6">Geobank</font></a><br/>
</strong></li>
<li><strong><a href="/forum/21675-russkij/" target="_blank">Русский</a><br/>
</strong></li>
</ul>
<br/>
<strong><u>Useful Documents</u></strong><br/><br/>
<br/>
Avatar
Yan
im my situation, I was writing a new topic, but i supposed it would be nice to have that flexibility everywhere, especially when you give the option to edit the html.
Avatar
Vladimir Mullagaliyev co-founder
Quote from Clinton Coney
Hi Vladimir, 

I work with Yan and we are both experiencing the same issue.

For instance, I am trying to customise a page's layout so that we can direct people to certain areas from the default forum page.

I have been having issues with Font tags too and the Color component being stripped.

Below is an example of some code that I have tried to use which then gets stripped of color tags and some others.

This is in the "Custom Text" module.

<u style="font-weight: bold;"><strong>Forums</strong></u><br>
<br>
<ul>
<li><strong><a href="/forum/19292-micromine/" target="_blank"><font color="#387C2B">Micromine</font></a><br/>
</strong></li>
<li><strong><a href="/forum/30083-micromine-beta/" target="_blank"><font color="red">Micromine BETA</font></a><br/>
</strong></li>
<li><strong><a href="/forum/19297-geobank/" target="_blank"><font color="#0081C6">Geobank</font></a><br/>
</strong></li>
<li><strong><a href="/forum/21675-russkij/" target="_blank">Русский</a><br/>
</strong></li>
</ul>
<br/>
<strong><u>Useful Documents</u></strong><br/><br/>
<br/>
Sorry for too late answer.
You can do it using "class" in "a" element. And add this class to your custom CSS.
Avatar
Clinton Coney
Quote from Vladimir Mullagaliyev
Sorry for too late answer.
You can do it using "class" in "a" element. And add this class to your custom CSS.
Thanks Vladimir, any chance that we can have the tags unblocked on our forum?

As Yan has said below, we would like to use "color" tags for posts not only in the forum structure.

Thanks!
Avatar
Vladimir Mullagaliyev co-founder
Quote from Clinton Coney
Thanks Vladimir, any chance that we can have the tags unblocked on our forum?

As Yan has said below, we would like to use "color" tags for posts not only in the forum structure.

Thanks!
You can use classes with posts too. Font is truncating by our third-party HTML redactor. Will see what we can do.
Avatar
Clinton Coney
Quote from Vladimir Mullagaliyev
You can use classes with posts too. Font is truncating by our third-party HTML redactor. Will see what we can do.
Ok, thanks Vladimir.

I'll have a play around with the the classes and CSS today, however it would be easier if we could do it in the HTML when posting :)
Avatar
Vladimir Mullagaliyev co-founder
Quote from Clinton Coney
Ok, thanks Vladimir.

I'll have a play around with the the classes and CSS today, however it would be easier if we could do it in the HTML when posting :)
I mean add class to your custom CSS
.link-red{color:#ff0000}
and then anywhere in html editor write
<a href="" class="link-red">test</a>
Avatar
Clinton Coney
Quote from Vladimir Mullagaliyev
I mean add class to your custom CSS
.link-red{color:#ff0000}
and then anywhere in html editor write
<a href="" class="link-red">test</a>
Thanks Vladimir, we appreciate all your help.

I'll have a go at fleshing out our custom CSS today and get back to you if we need any more assistance.
Avatar
Clinton Coney
Vladimir, I haven't had any success getting the CSS code to work, can you assist further please?