Developer forum

Forum » Swift » missing source html option

missing source html option

Cristina Santos
Reply

Hello!,

I can't find the option to view the text in HTML using Swift. I would need to put different styles inside the text box, and without being able to write html I can't....

Does anyone know where this option is (in Swift)? It's hidden and I don't see it?

Swift:

 

Rapido:

 

 

 

Thank you!


Replies

 
Nicolai Pedersen
Reply

Hi Cristina

It is part of the configuration of the editor.

You can change that in editor configuration under settings - try choosing another one or look in the files menu in your dump above:

Why do you need to go into source? Sounds like you are doing something that should be avoided...

BR Nicolai

 
Cristina Santos
Reply

Thanks Nicolai for the solution!
I need it because inside the text box, I need to put a different font family to some words.
I can't choose one of my fonts from my custom.css file from the font dropdown

For example:

Lorem Ipsum is  <span style="font-family: 'Montserrat-ExtraBold';"> simply dummy text  </span> 

 

 

 
Nicolai Pedersen
Reply

Custom css is not supported in tiny editor.

Then you have to change back to the old CK Editor. Not recommended...

 
Cristina Santos
Reply

Finally, by choosing the other available format in settings, it is not necessary to switch to the old editor and the option to view the source code is displayed.

Thank you very much for your help!

 

 

 

Best regards

Cris

 

You must be logged in to post in the forum