wintercms / wintercms/wn-pages-plugin

Content field (WYSIWYG) collapses to zero height.

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Review Needed Type: Bug
Dominant language
PHP
Stars
15
Forks
23
Avg merge
56m
Merged PRs (30d)
2

Description

  • Winter CMS Build: 1.2.10
  • Pages Plugin Version: 2.2.0
  • PHP Version:
Description:

Backend area. Pages.
Content field (WYSIWYG) collapses to zero height.
Both WYSIWYG view and Code view.

Image

Investigation:
It works fine if change stretch: true to false here:
plugins/winter/pages/classes/page/fields.yaml

    fields:
        markup:
            tab: winter.pages::lang.editor.content
            type: richeditor
            stretch: true
            size: huge

It also works in fullscreen mode

Image
Steps To Reproduce:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with plugins/winter/pages/classes/page/fields.yaml and reproduce the issue in the backend Pages editor using the markup field configured with type richeditor, stretch: true, and size: huge. Compare the behavior in WYSIWYG, Code, and fullscreen views; done means the content field retains a usable height in both editor views without disabling the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.