Shop More Submit  Join Login
×

:iconginkgografix: More from ginkgografix


Featured in Collections

JOURNALS AND NEWS by Elandria

Articles and journals by Eitvys200

Journals News by pica-ae


More from deviantART



Details

Submitted on
March 17
Submitted with
Sta.sh Writer
Link
Thumb

Stats

Views
1,251 (1 today)
Favourites
15 (who?)
Comments
19
×

Switching between RTE* & HTML mode

*Rich Text Editing

While working on a new journal entry we have a fancy menu that helps us to quickly switch between RTE and HTML mode. It can be found at the top within the menu.

17 03 2014 01 by ginkgografix

Since a while comments and the description of deviations also support Rich Text Editing, which is the default mode for those areas.
This makes it easy to copy existing snippets from other parts of the site. All code (of visible elements) will be automatically transferred then.

17 03 2014 02 by ginkgografix

This can safe us a lot of time, but it also can make things difficult, when we want to adjust the HTML code. And here we have no buttons to switch between the modes.

But fear not, of course there is a solution!
With the help of CTRL + E / CMD + E you can switch between the modes without any buttons. When you make use of it, you will see that the font changes and you either end up with HTML code or it vanishes (this depend on which mode is active).

So if I use CTRL+E / CMD+E for our example I will end up with this.

17 03 2014 03 by ginkgografix

In case I would have used more complex code, I could now adjust it all to my liking.

The key combination CRLT+E / CMD + E does also work while writing your journal in Sta.sh. It's a quick way to switch between both modes for all areas you have RTE available.


:note: You don't have to switch to HTML mode to add any code, you can also do it while being in RTE mode. But if you do so and change the mode you will see that wytiwyg="1" between your code bits. It's the indicator for code that has been written in RTE mode.

When you use a lot of HTML code it is recommended to switch to HTML mode before though.
Especially when having a lot of wrapping elements every new line break could mess up your code otherwise.





Want to learn more?



Suggest a Topic


As we write this article series for you, the community, we would like to know: What aspects of the website do you want to learn more about? Or what can you teach other deviants about? If we decide to use your suggestion we will be sure to credit you.
Thank you for your input in advance!

Let us know your ideas through our feedback page  fellallama by mintyy


Previous Articles


You can find every article we've ever done right here.
Add a Comment:
 
:iconrefreezed:
ReFreezed Featured By Owner Sep 26, 2014  Hobbyist General Artist
This saved me a ton of frustration today, thanks! :hug:
Reply
:iconhtblack:
HtBlack Featured By Owner Mar 23, 2014
Can that small line you mentioned, the wytiwyg="1" fuck up the HTML code at all if you've been writing in RTE because you forgot you needed to switch to HTML and then when you do switch that tag is everywhere? :B
Reply
:iconginkgografix:
ginkgografix Featured By Owner Mar 23, 2014
No, that is just some extra information, but it doesn't do anything. It's just there to make your code look a bit more messy :lol:
Reply
:iconhtblack:
HtBlack Featured By Owner Mar 24, 2014
That makes absolute sense. :lol:
Reply
:iconpearwood:
pearwood Featured By Owner Mar 19, 2014  Hobbyist Photographer
Sweet.  I use HTML mode almost exclusively.  I didn't know about the quick switch key, says he, playing with it in the comment space.  There aren't many times I would want a big thumb in a comment, but this lets me edit the code and do so. 

Ooh.  Shiny.

2014-077 Sunday afternoon sunshine by pearwood 2014-077 Sunday afternoon sunshine by pearwood
Reply
:iconginkgografix:
ginkgografix Featured By Owner Mar 19, 2014
:giggle:
Sometimes it can be nice to have bigger thumbs, right?
Reply
:iconpearwood:
pearwood Featured By Owner Mar 19, 2014  Hobbyist Photographer
Especially for those journals that say, "Respond with three of your favorites."
Reply
:iconnati11184:
nati11184 Featured By Owner Mar 18, 2014  Hobbyist General Artist
:thumbsup:
Reply
:iconthegalleryofeve:
TheGalleryOfEve Featured By Owner Mar 17, 2014  Hobbyist Digital Artist
Thank you for the tips!!! :iconflyingheartsplz::iconsweethugplz::iconflyingheartsplz:
Reply
:iconginkgografix:
ginkgografix Featured By Owner Mar 18, 2014
:huggle:
Reply
Add a Comment: