Re-enabling editor placeholders (instruction text)

  • 30 October 2019
  • 5 replies
  • 126 views

Userlevel 7

Hey,

We’d like to inform you that we are going to re-enable the placeholders in the editor. Placeholders are instructions texts shown within the editor when a user hasn’t start typing yet.

November 1, 2019: Placeholders are now available in your editor

Placeholders will be added to your editor Friday November 1, 12:00 CET

There are 3 editor placeholders that we use in our platform. In this post you will learn what will change and how to update the default placeholders yourself.

Placeholders used in the editor + their usecases

Default placeholder

The default placeholder Add as many details as possible, by providing details you'll make it easier for others to reply will be applied to all editor usecases (written below) if you don’t make any changes. The phrase is localised and will be shown in your own language.

If you don’t want to make use of the default placeholder you should provide your own placeholders in Control with the Module and Key provided below. You can already update the default placeholder prior to the release!

Usecase 1: Placeholder when starting a new topic

Module: Forum - Key: new.topic.placeholder.textarea

Usecase 2: Placeholder for writing a first reply to a topic

Module: Forum - Key: topic.first.reply.placeholder.textarea

Usecase 3: Placeholder for writing a reply to a topic that has replies already

Module: Forum - Key: topic.reply.placeholder.textarea

Changing the editor phrases

You can apply the voice of your brand by changing the phrases, here’s how:

  1. Log in to Control
  2. Navigate to Settings > Phrases
    1. Search for `Placeholder` and edit an existing phrase
    2. Add a new phrase with the module, key and translation

Overview of phrases

Module Key Usecase
Forum new.topic.placeholder.textarea This placeholder will be shown
when creating a new topic
Forum topic.first.reply.placeholder.textarea This placeholder will be shown
when there are NO replies in a topic yet
Forum topic.reply.placeholder.textarea This placeholder will be shown
if a user wants to reply

 

Placeholders will be added to your editor Friday November 1, 12:00 CET. If you haven’t made any changes to the placeholders yourself, the default placeholder Add as many details as possible, by providing details you'll make it easier for others to reply will be applied.

 


5 replies

Userlevel 7
Badge +4

Thank you for the tutorial and the heads-up!

Userlevel 7

The placeholders mentioned above have been added to your editors

Userlevel 5
Badge +3

 Hi @Yoeri. Thanks for this tutorial. In the control environment, our placeholder translations appear the same as they did before the new editor was rolled out. But the default translation is showing in the frontend. I just cleared my cache/cookies and it’s still showing the default version. Any idea what could be happening? Thanks.

Control environment current
Front-end current

 

Userlevel 7

Hey,

We see your phrases being applied (e.g. in this topic). In your screenshot you are referring to the topic placeholder used in the create new topic page. In order to change that one you need to add the following phrase:

Module: Forum    
Key: new.topic.placeholder.textarea

Looks like this phrase is currently missing in your setup, hope this helps :)

Userlevel 5
Badge +3

Thanks, @Yoeri. Sorry about that oversight – my mistake.

Reply