Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
444 views
in Technique[技术] by (71.8m points)

angular - In CKEditor5 , Adding inline dropdown and programmatic support for numbers formatting

I am planning to use ckeditor 5 to provide rich text editing capabilities in an angular project. However, I have some complex input reuirements when it comes to table content.

  1. Restrict user entries in some columns using dropdown (e.g. country column).
  2. Show negative numbers in red colour (e.g. profit column).

I have explored Restricted Mode but it does not cater to above requirements. I also searched for an addon similar to form for ckeditor5. I found that its not implemented yet.

For requirement 2, I was thinking of using css to match all TDs and updating inline styles to red for negative numbers.

But for requirement 1, I need a plugin/addon that allows insertion of dropdown element.

Please suggest if there are plugin,integration example or appraoch to achieve both requirements?

question from:https://stackoverflow.com/questions/65922038/in-ckeditor5-adding-inline-dropdown-and-programmatic-support-for-numbers-forma

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...