EasyCorp / EasyCorp/EasyAdminBundle
Improve the way TextEditor field contents are displayed in detail page
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 1.1k
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 11
Description
TextEditor field creates HTML content because it allows to use paragraphs, bold text, links, etc.
In detail page, we display the escaped HTML contents for security reasons. But, in many cases, you want to display the rendered HTML contents. This is fine because contents were created by employees, not end users.
Also, we should add an option to display the full contents without an scroll bar. By default, we set a max-height to not break the page design when the content is very long.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the TextEditor field's detail-page rendering and inspect how HTML is currently escaped and how the default max-height scrollbar is applied. Done means trusted contents can be rendered as HTML and the detail display offers an option to show the full contents without a scrollbar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100