WYSIWYG editor with code style

Asked

Viewed 140 times

0

I am creating a website where I will post some code snippets (as if it were a backup of my codes), and for this, I am using ASP.NET MVC.

Almost everything is ready, what is missing is a WYSIWYG editor that meets my needs.

I’m using the Tinymce. It’s very good, but I’d like the final code generated by the editor to look like a code editor (with the reserved word colors and everything in between).

I found on the Internet, a framework that seems to be very good, but I couldn’t use it.

What editor can help me?

  • If he is good, does what he wants, and apparently is being used by several people, wouldn’t it be better to learn how to use him rather than give him up? Which languages you need?

  • 1

    tries http://bluefish.openoffice.nl/download.html

  • @Andrésilveiramachado I may be mistaken, but what does this have to do with what he asked?

  • "Almost everything is ready, what is missing is a WYSIWYG editor that meets my needs."

  • @Andrésilveiramachado I will analyze this Framework. I had never heard about it.

  • @Andrésilveiramachado read the rest of the question.

  • @Flaviovissoto this is not a framewotk, is a text editor.

  • @Flaviovissoto Did the answer solve your problem? Do you think you can accept it? If you don’t know how you do it, see [tour]. This would help a lot to indicate that the solution was useful to you and to give an indication that there was a satisfactory solution. You can also vote on any question or answer you find useful on the entire site.

Show 3 more comments

1 answer

2

Not to be without an answer:

Some people recommend the Colorcode. It doesn’t work with many languages. From what I understand it would have to do this on the server, which I think is not ideal in most cases.

There is the Codemirror only for C#. Official website.

But I think I’d stick with the Syntaxhighlighter which is the most recommended and used by many people. When unable to use, you have to go after the solution, not give up.

  • I’m going to look at all these. I didn’t give up... I just wondered if there’s any other kit that does the same thing. As soon as I test the ones you recommended I comment here what I thought of them is which one I decided to use. Thank you so much for the help.

  • @Flaviovissoto see also the visual studio code

  • Good morning, gentlemen, I got what I wanted. I made some modifications to Tinymce to work with Syntaxhighlighter. As soon as I finish and make sure that no more problems I will post the code here. But it got really good. Exactly what I needed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.