C # wysiwyg editor for custom language

I need to create a visual editor in C #. Given a snippet of PHP and / or HTML code, the software will display them as an editable web page. At the same time, it will display a dialog box in which the user can edit the parameters for the selected component. This is similar to the HTML editor Adobe Dreamweaver, but for this you need to have additional PHP processing functions. (Dreamweaver parses HTML and simply resolves PHP segments, while this program needs to parse HTML as well as PHP).

I can create dialog material with functionality, but the biggest problem is creating the WYSIWYG editor. Any suggestions / comments I should start with?

Thanks in advance.


UPDATE

Basically, it should analyze only a (very) small subset of the PHP functions. In addition, it must parse some user hard-coded functions. An example for parsing would be:

html here
...
...
<php echo $this->input(option1, option2, option3); ?>
...
more html here

This will display the GUI to display the form field that will be displayed in the browser. Similarly, other functions (less than 150) that need to be legible will be performed. Other PHP built-in functions do not need to be analyzed, except for some string manipulation functions.

+3
source share
1 answer

TinyMCE. javascript WYSIWYG . , php SourceForge.

WinForm WPF, WebBrowser.

[: Rich Text Control]

CodeProject. richtech. ModelText winform, , HTML ( https://stackoverflow.com/users/49942/chrisw). , , .

+1

Source: https://habr.com/ru/post/1751445/


All Articles