Texteditor tab and space

UI Components for JSF
Post Reply
viniciuspadua
Posts: 12
Joined: 28 Dec 2010, 15:36

03 Aug 2021, 21:27

How can I use a tab and multiples spaces in Text Editor component ?

When click a tab, the focus change to next component
When click multiple space, only one works

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

05 Aug 2021, 13:59

Tab and multiple spaces work fine for me on the Showcase?

See: https://www.primefaces.org/showcase/ui/ ... itor.xhtml
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

viniciuspadua
Posts: 12
Joined: 28 Dec 2010, 15:36

09 Aug 2021, 16:09

Work only when you is typing.
When change action and save all space becomes one.

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

09 Aug 2021, 16:22

Are you sure its not the rendered HTML that is removing those tabs etc. Since the TextEditor submits HTML look at the raw submit value.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests