• Resolved carlosvai

    (@carlosvai)


    Hi!
    Sorry to bother again so soon, but I need this one answer to launch the chat rooms in my site and sleep tight.

    I’m concerned abut letting people sending links in the chatroom. Is there any way to disable that feature? I looked all around but couldn’t find any. Maybe a snippet?

    Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter carlosvai

    (@carlosvai)

    I found a workaround in case someone needs it.

    Just place this css

    .bm-content {
        pointer-events: none!important;
    }

    This will simply disable links.

    Cheers.

    Thread Starter carlosvai

    (@carlosvai)

    UPDATE:
    The above solution disables not only the links but all the options (reply, delete, edit, reactions, etc)

    So is best to use this instead

    .bm-message a {
        pointer-events: none;
    }
    • This reply was modified 2 years, 8 months ago by carlosvai.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Disable hyperlink in messages and/or chatroom’ is closed to new replies.