Is it possible to set Full HTML as the default input format to save me having to click into there on each node?

Comments

jdevries’s picture

You can do this in your admin area: admin/settings/filters. Change the radiobutton to full html and click the button. That's it.

Note: if you allow visitors to post, you probably don't want to let them use full html, as it may present security or layout problems. Configure the input formats as needed.

Dubber Dan’s picture

Cheers, knew it would be somewhere obvious!

Dan

www.lightbeingcreations.co.uk
A Human Experience

Bricks and Clicks Marketing’s picture

How would you recommend configuring the format, if the default must be used by all roles? Enable the HTML filter? Thanks :-)

Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting

Dubber Dan’s picture

If it's just you managing the site, then there's no issues, but if there's a number of people, or a large community that can post, then as advised above don't go with PHP.

I've gone with Full HTML by default as I'm the only person that edits the site and pretty much every node I create uses full HTML, so it saves me a click or 2 each node.

Dan

www.lightbeingcreations.co.uk
A Human Experience

Bricks and Clicks Marketing’s picture

It's just me and someone I trust, and I left it at Full HTML.

www.echoleaf.com | expert Drupal theming

Arp Laszlo
bricksandclicks.marketing
design / theming / development / consulting

visionmark’s picture

How would this be done in Drupal 6? (I see no Settings > Filters)

roaming’s picture

go to
administer/site configuration/input formats

visionmark’s picture

Thanks!

drupalgeek’s picture

yes it is possible to set full HTML as the default input format , please see the below link it will give u answer to ur problem .

http://lists.drupal.org/archives/support/2007-05/msg00126.html

Drupalgeek
Ebizon technologies (http://ebizontek.com)
India
Recent Projects: (kickwork, Znips)

1kenthomas’s picture

Yes, it is possible. Is it a good idea? No. Repeat. NO.

Dubber Dan’s picture

Surely if it's just one person that adds content, then there's no issue with changing the default to HTML? Yes I agree, if there's a number of people that add to a site, then keep the restriction in place.

1kenthomas’s picture

It seemed in the context above that there was generally more than one person, or a restricted number of authorized individuals who knew what they were doing, who might be adding content to the sites described.

Full HTML as currently defined exposes the site to security and other risks, and even when restricted to one person, represents a serious risk if that person (or persons) may insert code that can potentially represent an code exploit of the site, whether via injection or otherwise.

One therefore might go so far as to say it should not be available as a default at all...

Dubber Dan’s picture

Yep, agree with most of that, but I still don't think a definitive no is appropriate.

As for it not being available at all as a default, that would be a complete pain for me, so I'm very happy it is available, but not out of the box as currently seems the sensible way to do it.

Bluebossa17’s picture

You can also do it in Drupal 7.

Go to Administration > Configuration > Content Authoring

Then Drag whatever text format you want to the top to set it as default.

darrellduane’s picture

This is one of the many reasons people start hating on Drupal, the most obvious settings are hard to learn and aren't set.

Do you think the core maintainers would be up for having Full HTML as default? I'll have to dig around to see about making a patch and submitting it.

Also, to be clear, the place to fix this is in:

Administration > Configuration > Content Authoring > Text Formats

where you can drag the desired default format to the top of the list and save it.

Darrell Duane
d@duane.com

jaypan’s picture

It's not the default as it can be a security risk.

Contact me to contract me for D7 -> D10/11 migrations.

kamdanishit’s picture

Administration » Configuration » Content authoring and select Text Format... now drag Full Html to the top

DrCord’s picture

Reordering the text formats list in the config settings does not set the default only reorders the list of options, now my default is "-Select-".

cristiroma’s picture

@kamdanishit is correct, on an default Drupal installation, dragging the Full HTML formatter first makes it the default editor.

Arne Slabbinck’s picture

@kamdanishit Thx!

jamesreinders’s picture

Administration » Configuration » Text formats and editors
reorder (drag) "Full HTML" to be the top item.

This was not obvious to me after reading this forum... and seeing how the solution keeps changing. This is similar to Drupal 7, but yet different. :)

Hence, my post to share the Drupal 8 solution.
Enjoy!

fsayoub’s picture

Perfect. Thank you, James! That was more time-consuming than it should've been.