Jump to content

Does a better editor exist?


bowenac
 Share

Recommended Posts

There has to be a better editor than the default editor but I'm not finding anything.

Going to be working on a few processwire sites, and moving a site to processwire but already seems challenging compared to other cms. 

For what ever reason if I use source mode and enter html it strips html and ends up replacing everything with p tags. I can't seem to use an h1 tag.

Can someone point me to a better text editor?

Link to comment
Share on other sites

Good day and welcome to the forums!

In processwire you can choose what editor is used as an inputfield for a specific long-text field. You can leave it as just plain textarea input, or use some kind of (rich) text editor. CKEditor comes with the core, there are others in the modules directory. You can adjust a lot of settings of those editors right from the admin and even more in the config files. You can choose, what buttons will be shown, for example.

Content filtering (the thing which removes h1 and other markup) can be turned off completely or be modified to suit your needs. You should start at the config page for the field you are using and play around with options there. Try reading these forum topics to learn more:

https://processwire.com/talk/topic/3023-module-ckeditor/

https://processwire.com/talk/topic/7231-rich-text-editor/

Content filtering is a feature not a bug) It can make your life easier once you let your customer start working with the site. It is considered best practice by many here not to put any complex markup in those textareas, but rather move it to template files or include other ways, like with hanna codes.

Link to comment
Share on other sites

Hello bowenac and welcome to the forum!

The standard editor is CKEditor which is widely used on the net and has many configuration options.

There is an extesive thread about it: https://processwire.com/talk/topic/3023-module-ckeditor/

If you don't like it, you can also go and install TinyMCE or the very lightweight Trumbowyg.

When I did my first site with PW, it was quite challenging. But it was well worth to spend the time learning it. I wouldn't want to miss it and develop all new sites with PW now. 

You find tons of help and info in this board, in the docs section and the API Cheat Sheet can be particularly helpful.

It is also useful to take a look at the different site profiles that come with PW 2.5. You can learn a lot about how things are working.

Have fun with PW!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...