Where to configure the text format of the message field?

Created on 22 March 2021, almost 4 years ago
Updated 1 September 2024, 5 months ago

Hello, great module.
I want to use it with Drupal 9.

My question is:
How can I configure the message text box (textarea where the message is written in)?
I want to change the text format (multiline textarea without formatting --> plain text textarea).
I tried to change the text format for the message textarea field. But I could not find out where to configure it.

Can you help me to find this out?
Where to configure the text format of the message field?
Thank you.

๐Ÿ’ฌ Support request
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡นAustria drupalfan2

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ซ๐Ÿ‡ฎFinland anaconda777

    Hi,

    It is not possible to achieve a different text format by site permissions, if the text format is not allowed on other places.

    Could a solution be if the message field would be visible here, so the text format could be changed?
    admin/structure/private-message/private-message/fields

    Now I do not find it.

  • ๐Ÿ‡จ๐Ÿ‡ฆCanada paintingguy

    I just installed the Private Message module and wish I could get messages that are not plain text.

    Is There a way to allow html and images in the message?

    Thanks!

  • ๐Ÿ‡ซ๐Ÿ‡ฎFinland anaconda777

    Could someone tell how to change the text format even in the code?
    Tried to find the private message message field from the site configuration, but it is not there.
    Is it possible somewhere in the private message module templates to set the text format to something else which uses ckeditor5 for example? Now I have only plain text area and unable to put any "tools" in it for the end user.

  • First commit to issue fork.
  • Merge request !83Issue #3204985: Show input formats. โ†’ (Merged) created by dd_diablo
  • Open on Drupal.org โ†’
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 8
    last update about 1 year ago
    Waiting for branch to pass
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine v.koval

    v.koval โ†’ made their first commit to this issueโ€™s fork.

  • Open on Drupal.org โ†’
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 8
    last update about 1 year ago
    Waiting for branch to pass
  • Status changed to Needs review about 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine v.koval
  • Pipeline finished with Skipped
    about 1 year ago
    #83417
  • First commit to issue fork.
  • Open on Drupal.org โ†’
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 8
    last update about 1 year ago
    Waiting for branch to pass
  • Status changed to Fixed about 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ฆUkraine artem_sylchuk Lutsk

    Private message had a config to hide the format selection that was confusing people.
    That setting is removed now as preferable way to handle this is to use Drupal core configuration: https://www.drupal.org/node/3318572 โ†’
    For core versions prior 10.1 the https://www.drupal.org/project/allowed_formats โ†’ had to be used.

    Using WYSIWYG editors and allowing different media for drupal default textare is a topic of a basic Drupal configuration and isn't specific for Private Message as module uses the generic field type for it.

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • ๐Ÿ‡ซ๐Ÿ‡ฎFinland anaconda777

    I am still confused how to limit the text formats for private message -message field.
    Now a logged in user sees all the possible text formats which he has permissions under the message field.

    So for private message field there should be only one text format allowed of those which he has permissions.
    When going to /admin/structure/private-message/private-message/fields
    There are no fields, in particular the "message" field is missing.
    In other content types, configuring that field I could set the allowed formats, but with private message field it is not possible.

    With the latest Version: 3.0.1, a logged in user sees all the text formats which are allowed for him also in other content types, and this causes the problem.

Production build 0.71.5 2024