Bug 575077 - Markup language widgets (Markdown)
Summary: Markup language widgets (Markdown)
Status: NEW
Alias: None
Product: EEF
Classification: Modeling
Component: User Interface (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 575093 581612
  Show dependency tree
 
Reported: 2021-07-27 11:51 EDT by Arthur Daussy CLA
Modified: 2023-02-28 12:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Daussy CLA 2021-07-27 11:51:13 EDT
A great feature would be able to edit and render markup text directly in the property view.

To achieve that, I propose to develop 2 widgets.
The first one is an HTML renderer. This widget will be in charge of displaying HTML content directly in the property view. It will have the following properties:

* toHTMLExpression : Expression that converts a String into an HTML content. The Sting format will depend on the markup language supported.
* cssExpression : This expression will be used to prove the CSS content to be used on the renderer. This expression is not mandatory. In case it is not provided any CSS will be applied or it could be part of the 'toHTMLExpression' content.

Then an optional 'editExpression' can be used to add a button on the UI to call an edition tool to edit the markup language with a custom tool. This tool can be provided using service. In this first implementation, a Markdown edition tool will be provided.

The second widget is Mardown Edition widget. It is simple Style Text widgets that gives instant feedback (style, foreground and background color) using the markdown syntax.
Comment 1 Eclipse Genie CLA 2021-07-28 12:06:11 EDT
New Gerrit change created: https://git.eclipse.org/r/c/eef/org.eclipse.eef/+/183448
Comment 2 Eclipse Genie CLA 2021-08-26 08:43:32 EDT
New Gerrit change created: https://git.eclipse.org/r/c/eef/org.eclipse.eef/+/184453