No results behavior: Global: Entity Add Button Prefix HTML Suffix HTML not working properly

Created on 17 November 2022, about 2 years ago
Updated 11 April 2024, 7 months ago

Problem/Motivation

When configuring a view with - "No results behavior:" and adding a "Global: Entity Add Button"
there are Prefix HTML fields and Suffix HTML fields...

When switching to Full HTML, and adding code in Source mode in wysiwyg editor, it saves and works first time,
but then when you go back to edit the same view no results behaviour, any code that was there previously is gone, and it switches back to empty Basic HTML mode.

So basically the No results behavior: Global: Entity Add Button Prefix HTML Suffix HTML not working properly

Steps to reproduce

Create a view
add No results behavior:
choose Global: Entity Add Button
configure Prefix HTML & Suffix HTML in Full HTML / Source mode
add some code like

to prefix and suffix
save view
notice it renders in browser
then go and edit that view again
and try to change the prefix / suffix html, and you will see it is gone.

Proposed resolution

Fix the Prefix / Suffix HTML Full HTML WYSIWYG functionality?

Remaining tasks

User interface changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code: Field Plugin

Created by

πŸ‡ΊπŸ‡ΈUnited States jacov

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

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡¦Ukraine Terry_Kolodiy

    Strange. This issue is not reproducible. I've made all the steps. And the Full HTML code doesn't disappear. Could you please provide more details? Thanks

Production build 0.71.5 2024