Download & Extend

Setting a default value (html code) for Excerpt field

Project:Excerpt
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Is this possible ?! Can I set a default html code for excerpt that loads automatically as I start editing a new node ?!

Comments

#1

Would love this as well :)

#2

Version:6.x-1.0» 6.x-1.1

I also believe that this is essential for excerpt. If a body of a node is a specific input format (pretty common when used with wysiwyg) , the excerpt needs to be that input format by default to output things correctly. Otherwise the output format is wrong since it's using the default (html filter) . It should either inherit the input format by the main body of the node ( not so easy I guess) , or select the input format per content type or even better provide support for http://drupal.org/project/better_formats since Better Formats is not recognizing excerpt (eg. in node defaults) right now. I think it's very important , because currently the teaser misbehaves - since it's stripping out tags that are used by an input format of wysiwyg but not in filtered html.

I used this issue and not #429364: Excerpt textarea not compatible with wysiwyg module because this seems as the next step towards a better excerpt functionality. That issue achieved the goal of selecting an input format. Now we need to make this selection automated or configurable.

nobody click here