Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF 12c af:RichTextEditor problem when setting color

Moh.SayedAug 24 2022

Hello,
I'm using af:RichTextEditor in my application
after upgrading the skin to Fusion Alta, the component is not working properly
when I highlight part of the text, and click on the color to change the text color, the selection is gone once I click the color dropdown. and nothing happen after I select the color.
this does not happen with changing font size or ( B I U ), it happens only when changing the font color or font background color

Comments

dvohra21

What is the JDeveloper version? Which Alta css is used?
If the CSS files provided by Oracle JET with your app are sufficient and you only want to add a few app-specific styles, you may find that adding the classes to app.css in your app’s src/css folder will meet your needs.
If, however, you want to use a different theme or add more than a few app-specific classes, then you can use Oracle JET Tooling to generate your own CSS. For instructions, see Customize Alta Themes Using the Tooling.
Use the recommended standards to generate your CSS and Themes. For more information, see Best Practices for Using CSS and Themes.
https://docs.oracle.com/en/middleware/developer-tools/jet/11.1/develop/css-files-included-alta.html#GUID-DB4A9CB1-AF2E-470C-A56A-15EB25F40558

Timo Hahn

User, tell us your exact JDev version, please!
Have you tried to create a new app using alta skin from the beginning and tested the rich text editor this way?

Timo

Moh.Sayed

I'm Using Jdeveloper 12.2.1.3
Build JDEVADF_12.2.1.PATCHSETS_GENERIC_170820.0914.S
Skin : alta-v1.desktop
I have created a new RichTextEditor in same project and it behaves the same way and same problem

Timo Hahn

Can you share the test case, please?
You may want to file an SR with support.oracle.com (payable support contract needed).

Timo

Moh.Sayed

I have tried the RichTextEditor in another project, and it got the same problem.

dvohra21

when I highlight part of the text, and click on the color to change the text color, the selection is gone once I click the color dropdown. and nothing happen after I select the color.
Color is set in the Property Inspector. Not by selecting some text and changing its color.
Use View | Property Inspector from the main menu.

1 - 6

Post Details

Added on Aug 24 2022
6 comments
132 views