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
Clinton Coney
Quote from Sergey Stukov
Check example again, we marked color word in it.
Also color class slightly extended.
http://forum.micromine.com/topic/431692-/
Excellent! Thanks for that Sergey!
Avatar
Sergey Stukov co-founder
Quote from Clinton Coney
Sorry to be a pain but can we do this with just plain text not links as well?

Say if I wanted to make this word red instead of black?
Check example again, we marked color word in it.
Also color class slightly extended.
http://forum.micromine.com/topic/431692-/
Avatar
Clinton Coney
Sorry to be a pain but can we do this with just plain text not links as well?

Say if I wanted to make this word red instead of black?
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
Clinton Coney
Quote from Sergey Stukov
Open https://micromine.userecho.com/settings/forum/priv...
Choose your Sandbox forum, and then add real.space.man@gmail.com to the Private users emails section
Done.

Thanks Sergey.
Avatar
Sergey Stukov co-founder
Quote from Clinton Coney
Hi Sergey, I've been using the Sandbox to test it out.

You can use this topic if you like: http://forum.micromine.com/topic/431692-/

How do can grant you permission to edit this topic?

I have reverted the CSS code that I put in the project as it wasn't working.
Open https://micromine.userecho.com/settings/forum/priv...
Choose your Sandbox forum, and then add real.space.man@gmail.com to the Private users emails section
Avatar
Clinton Coney
Quote from Sergey Stukov
Can you create topic within your community and give us permission to edit and link to it, so we able to prepare example for you. You can post link here.
Hi Sergey, I've been using the Sandbox to test it out.

You can use this topic if you like: http://forum.micromine.com/topic/431692-/

How do can grant you permission to edit this topic?

I have reverted the CSS code that I put in the project as it wasn't working.
Avatar
Sergey Stukov co-founder
Quote from Clinton Coney
Vladimir, I haven't had any success getting the CSS code to work, can you assist further please?
Can you create topic within your community and give us permission to edit and link to it, so we able to prepare example for you. You can post link here.
Avatar
Sergey Stukov co-founder
Quote from 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.
We cleanup code for security purposes to prevent possible spoofing, between users. Anyway we consider about extending allowed HTML tags and attrs or even adding ability to work with colors directly from editor interface.
Avatar
Clinton Coney
Vladimir, I haven't had any success getting the CSS code to work, can you assist further please?