[MAGNOLIA-4629] Validation pattern in fckEditor is not working as expected Created: 29/Oct/12 Updated: 19/Dec/16 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | fckeditor |
| Affects Version/s: | 4.4.6, 4.5.4 |
| Fix Version/s: | 4.5.x |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Samuel Schmitt | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Tested on a 4.4.6 and 4.5.4. But i guess that the problem is on every 4.4.x and 4.5.x |
||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
Add a validation pattern like ". {1,100}" to a fckEdit control. But there are 2 issues: The value '<p>a</p>
<p>a</p>' is not valid for the field [Text] on the tab [Text]!
Even with the <p> tags the whole text size is less that 100 chars. The problem comes from the new line. 2. The second issue is maybe more "acceptable". It would be great if the validation doesnt care about the HTML. |