Notifications
Clear all

wpForo 1.x.x How to keep code formating

3 Posts
2 Users
1 Likes
474 Views
Anonymous20
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 7 years ago

Hello.

It seems that everytime i paste some php code (<>) to the editor, the formating is lost. I see posts with code from your support, that keep the formating of the code.

How you do that?

Thanks

Topic Tags
2 Replies
Robert
Posts: 9912
Admin
(@robert)
Support Team
Joined: 7 years ago

Hi @anonymous20,

It depends on your editor. Some code editors don't add HTML formatting with code in buffer. So you don't see that in wpForo post editor. We use PhpStorm editor and it adds formatting in buffer very well. So all copied code comes with formatting.

Reply
Anonymous20
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 7 years ago

Robert is any syntax formating plugin for WP that works (tested) with wpForo editor?

All the information i found in the forums here doesn't seem to work for me.

If anyone else has a working solution, i would appreciate some help or ideas.

Reply