Hot to set pe:SunEditor width 100% ?

Community Driven Extensions Project
Post Reply
software-trern
Posts: 1
Joined: 03 Dec 2019, 22:28

25 May 2023, 12:45

Hi,

The documentation of pe:sunEditor width attribute says "width of the editor. Default value: 100%".

However, it does not use the full width by default.

- If I change the value to "100%", I got the error: "Cannot convert [100%] of type [class java.lang.String] to [int]"

- If I change the value to "100", the component width gets 100px not 100%.

How could I set the width to 100%?

Thanks in advance.

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

30 May 2023, 15:36

Can you please open a bug here: https://github.com/primefaces-extension ... ons/issues

I think I need to fix something to allow Strings for width not int.
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

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

31 May 2023, 22:33

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 “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests