Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Table block: writer field output in preview not correct #3324

Closed
silllli opened this issue May 12, 2021 · 1 comment · Fixed by #3411
Closed

Table block: writer field output in preview not correct #3324

silllli opened this issue May 12, 2021 · 1 comment · Fixed by #3411
Assignees
Milestone

Comments

@silllli
Copy link
Contributor

silllli commented May 12, 2021

Describe the bug

In the preview of the table block (blocks/table) the output of the writer field is not correct. The HTML tags are visible and not applied.

To Reproduce
Steps to reproduce the behavior:

  1. Create a block that extends blocks/table
  2. Add a writer field to the fields
  3. Use the block, add an entry and enter something in the writer field
  4. Look at the preview

Sample code:

name: Tabelle
extends: blocks/table
fields:
  rows:
    type: structure
    columns:
      entry:
        width: 1/3
      description:
        width: 2/3
    fields:
      entry:
        type: text
        counter: false
        label: Eintrag
        width: 1/3
      description:
        type: writer
        label: Erläuterung
        marks:
          - bold
          - link
        width: 2/3
    label: Einträge

Expected behavior

The content of the writer field being rendered correctly.

Screenshots

Bildschirmfoto 2021-05-12 um 17 08 37

Kirby Version

3.5.5

Console output

No console output.

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Google Chrome
  • Version: 90.0.4430.212
@afbora afbora self-assigned this May 16, 2021
@afbora afbora added this to the 3.6.0 milestone May 16, 2021
@afbora afbora linked a pull request May 16, 2021 that will close this issue
5 tasks
@distantnative distantnative modified the milestones: 3.6.0, 3.5.7 Jun 8, 2021
@afbora afbora linked a pull request Jun 8, 2021 that will close this issue
5 tasks
@bastianallgeier
Copy link
Member

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
4 participants