An input format is an ordered collection of filters. Any text that is being displayed to the browser should be run through the filters in an input format first.

learn more… | top users | synonyms

0
votes
1answer
28 views

TinyMCE not appearing on custom form

I am creating a custom form and have run into a problem. I'm using the WYSIWYG module and for some reason the text areas on this custom form don't show as rich text editors (tinymce shows on other ...
0
votes
0answers
34 views

How to convert bold to strong, italic to emphasis on pasted text?

I'm using Paste Format to clean up all text pasted into CKEditor (setup with WYSIWYG API), and it does a great job at this. Both the text format for users, and the text format that pasteformat uses ...
3
votes
1answer
17 views

Is there a module that creates an input filter to convert text to the ASCII character-set?

I have a textarea on a content type that needs to be converted ASCII character-set. Is there an available module that adds a input filter for this? This field needs to be fed to another platform with ...
0
votes
0answers
21 views

Google Prettify Not Working

I'm trying to get a setup similar to the one described in Markdown and Google Prettify working but I'm having some trouble with the Google Prettify module. I did have the same problem as that poster ...
1
vote
1answer
26 views

Adding missing Input Formats after Minimal Install

After a minimal install (v7.22) I've only got the 'plain text' input format and am missing the 'filtered HTML' and 'full HTML' formats. Is there a way to have just the missing formats installed or do ...
1
vote
3answers
83 views

What can I use to layout the content type form input when creating content?

I have created a content type with about 15 fields. I'd like to improve the layout of the form for creating content of this content type. Currently all the input fields are listed one after the ...
0
votes
1answer
47 views

WYSIWYG editor not displaying buttons and plugins

I'm new to drupal and have not found an answer on SO yet. I've updated to drupal 6.28, not ready to update to D7 yet, and the WYSIWYG and TinyMCE are not displaying. Also I can't click/unclick ...
0
votes
2answers
55 views

Use mytheme_preprocess_block() to display HTML (icon fonts) in block titles

Unfortunately, HTML commands in block titles are not being rendered. I would like to be able to add icon font symbols to my block titles by adding comands like <i ...
1
vote
1answer
38 views

How to install a text filter for plain_text input format

The users at my Drupal 7 website discuss a card game in plain_text comments and I'd like to format the hearts and diamonds characters by red color. Based on the Examples module recommended to me here ...
-1
votes
2answers
64 views

Access input format based on user role

I have the Developer user role which should only access the developer_html input format. I am trying to grant the necessary permission with user_role_grant_permissions(). I got this piece of code ...
1
vote
1answer
28 views

How to order input fields?

For displaying a content, I can modify the fields order using display and field weights. However, in a node/add/content-type page the input fields doesn't obey the weight given to the display. How ...
1
vote
1answer
61 views

Unable to use a hyphen in a Drupal 7 text field

I've got a simple field of type "text", widget = "text field" (Drupal 7). I am able to use special characters like &(%, but when I try to type a hyphen, there is no result. I can use a rich text ...
3
votes
1answer
100 views

How do I programmatically change the body text format on the page content type to full HTML?

I have a custom install profile and I must programmatically change the body text format on the page content type to full HTML. However, I didn't manage to find how to do it. How can I do it?
1
vote
0answers
62 views

How to show html <input> marks to Views Custom text - field?

I need to put < input > - html tag to my Views Custom text field, but it wont show up? Somehow these codes will be disabled? What I need to do? I tried to find solutions from web, but I didnt ...
2
votes
1answer
24 views

Can I control Input Type by Field?

I have a node type with multiple text fields. The majority of these are designed to fit very specific templates, and have fixed height and width, and are generally quite small. The full CKE interface ...
0
votes
2answers
21 views

How do I set the text format used in a message (from the Message module)?

I'm using Message on a site that has both the Filtered HTML and Full HTML text formats. By default, Message appears to use Filtered HTML, but I would like to use Full HTML instead. However, I ...
1
vote
0answers
35 views

How to set a text format to a views fields

If you add a content:body field to a view, you got several formatter options: default, plain text, trimmed, summary or trimmed. But is there a way to apply regular text filters? I stumbled upon this ...
0
votes
0answers
15 views

Adding Input to Logged in User Interface Customize Look

With Drupal 7, can I add the ability for the logged in user to update and save a few form fields that then populate a list below the form? They could then edit / delete entries? Is there a module ...
1
vote
1answer
65 views

Adding text to a field before save (Drupal 7)

I run into a situation where I need to wrap text inputted into a field before it is saved. I'm not sure the best way to do this, seems pretty straightforward but I'd like to find the "recommended ...
0
votes
2answers
67 views

Colorbox module has no effect

I'd like to use the colorbox module to show the images in my nodes which are comming from flickr. I'm using the flickr input filter which works fine. Now I'd like to get a colorbox to show one image ...
0
votes
1answer
37 views

How to get the standard text format widget for a custom field type?

I've created a custom field that loads content from a given URL. The content is rendered with the given input format. That works fine. Currently, I just gabe a list of available text input using ...
0
votes
2answers
172 views

Prevent Drupal 7 from auto-caching pages in all translations

After clearing the cache, Drupal generates cached versions of every node/page that gets visited. Which is fine. However – if I visit the German version of a node/page, not only the german version ...
0
votes
1answer
54 views

Should store input format in the database? [closed]

When using the WYSIWYG editor, should I store not only the text but also the format ("Full HTML"/"Filtered HTML"/...) in the DB?
0
votes
1answer
117 views

Unable to set placeholder on password input

function customization_form_user_register_form_alter(&$form, &$form_state, $form_id) { $form['account']['pass']['#attributes']['placeholder'] = t('Password'); } I am trying to set ...
0
votes
4answers
103 views

Restrict access to text formats for certain role

For every user with role company manager i have made tab My company(in user profile) where user can see node_edit of their company(node). And i need to set default format to plain-text and hide ...
0
votes
1answer
184 views

TinyMCE on Drupal 7 adding class to <p> instead of <span>

I have a custom class that I want to be able to add to parts of a sentence using a <span> tag. It's a title field, so I don't want it to be wrapped in a <p> tag. However, TinyMCE insists on ...
1
vote
2answers
80 views

What hook runs on all filtered input text of all filter types?

This is one of those, "Looked everywhere in the API for a hook, can't find it" questions. There must be a hook like I'm looking for, but none of my searches have found anything. I'm looking for a ...
0
votes
0answers
120 views

Full Html Text format (and wysiwyg) show only for administrator role

I use Wysiwyg module with CKeditor since months and all worked well. Wysiwyg module is linekd only wit my input-format "Full html" and this is granted to use to my role "Editor". it worked very good. ...
-1
votes
1answer
38 views

Missing 'Input format'

On my inherited Drupal 6 site when I go to edit or add a news story 'Input format' is available for the Teaser, but not for the Body. I would like it for both or if it can only for one, have it on the ...
2
votes
2answers
320 views

Inline image not showing

I have a problem after my successful migration from D6 to D7 where all inline images are not showing. Inline images are the images that are inserted in node body. Modules being used: Insert Custom ...
0
votes
0answers
23 views

Blank Body When previewing Pages

I want to create a new page/blog/etc, and there is nothing wrong. A body area where I can type content is okay, CK Editor modules are okay, and I can insert images, links and everything... But when ...
1
vote
1answer
308 views

Compelety remove Input format from comment form

I used following code to create a module to remove input format from comment forms. but it doesn't work. is there anything I'm missing or another way to do this ? <?php function ...
0
votes
1answer
483 views

Make node/field text input format available to Views

The standard Content list in Drupal 7 (displayed with the Find content menu item) gives me a table of nodes in the system with various attributes, such as the type. I want to add the text type (e.g. ...
2
votes
0answers
96 views

Text comparison rules on node:body:value with input filters

My text comparison rule works like a charm if the user selects 'Plain text'. If they use 'Filtered HTML' it doesn't find a match even though the pattern does exist in the raw and filtered versions of ...
0
votes
1answer
31 views

What would be a comprehensive but safe set of html tags to use with the HTML Filter but compatible Markdown?

I want to use the Markdown filter on my pages, but using the HTML filter messes it up. However I still want to use it. Does anyone have an idea what other tags should be allowed beside these and what ...
1
vote
1answer
255 views

Strange disappearing <p> problem with Drupal 7

In CKEditor, source view, I see <p> tags around my paragraphs. That's great, makes sense. However when I view the node, the <p> tags are gone, replaced with <br> tags, thus killing the ...
1
vote
0answers
138 views

Is there a good way to convert “smart quotes” and curly apostrophes to entities?

I'm building a new Drupal site, and the content authors and editors ared dyed-in-the-wool Microsoft Word users. I've got WYSIWYG set up to force all pasting to be treated as "Paste from Word", so ...
2
votes
1answer
99 views

URL tags not converted to <a> HTML tags

I have been using CKEditor, but didn't like the table editing capabilities so attempted to move to TinyMCE. Having done this, all links now appear as plain text in the following format : ...
2
votes
5answers
807 views

Filtered html ignores extra line breaks

I'm using the Filtered HTML input format without a WYSIWYG editor. When editing text, if I put some text onto a new line by hitting return, when I save its fine. However if I add another line (so ...
5
votes
1answer
99 views

Blacklisting specific tags from an input format instead of whitelisting

I need a filter for the "Full HTML" input format that allows me to strip specific tags. I want to allow all HTML tags, except the ones specified in the input format options. I am using Drupal 7.
0
votes
1answer
66 views

How do you replace text surrounded by a custom delimeter with <span> around it?

Overview I want to have action asterisks in my posts. Basically, asterisks surrounding certain words. Examples: *gasp* or *giggle* Simple enough. Now I could type that exactly into the editor but it ...
0
votes
2answers
121 views

Inserting Block with Custom Input Filter Module via Shortcode Causing http 500 error

I have a custom input filter module, and I am trying to figure out why it crashes when I attempt to insert a block into a post via a shortcode. The method works perfectly when I am inserting a string, ...
0
votes
0answers
149 views

BBCode : <span style=“font-weight:bold”> instead of <strong> tag (Filtered html problem)

I've setup BUEditor with BBCode. For security reason, I want to use "filtered html" input filter. But I have some problems : <span style="font-weight:bold"> is used instead <strong> ...
2
votes
1answer
205 views

WYSIWG Improvements in drupalgardens way: How to place input filter selector in CKEditor?

I would like to know how to achieve two improvements in WYSIWYG in the same way drupalgardens does (see image below): The first one is to place Input filters selector as a dropdown selector within ...
3
votes
2answers
2k views

How do I get line breaks when using Plain Text format?

I feel like this should be reaaaaaally simple, but it's driving me crazy. I have 'plain text' selected for all my Body elements. I don't want anyone to be able to put in any html at all when filling ...
0
votes
1answer
202 views

Custom tokens and/or text filters for consistent link look?

I have a site with a range of products. In order to ensure an easy input for the content editor and a consistent look throughout the site, I thought I'd make an input filter that would replace any ...
3
votes
1answer
142 views

HTML5 and Full HTML Filter

I have the following markup: <figure> <img src="file.jpg"> <figcaption> <h3>The Father</h3> <p>Born in 1972, a fisherman by trade</p> </figcapion> ...
0
votes
5answers
429 views

How/where to change the default size of inline images?

For the life of me, I can't seem to figure out how/where to change the default size of inline images (that is, images that have been inserted into the body by way of the wysiwyg editor's Insert/Edit ...
0
votes
1answer
286 views

Setting text formats programatically

I have defined a new content type, that just has a body field, which I define in my install file: $type = array( 'type' => 'status_update', 'name' => t('Status Update'), ...
0
votes
1answer
219 views

adding input format for CCK fields in drupal

Is there any way by which I can add a input format for the CCK added Text Fields ? By default its only there for Body field in any node/add , I want this for other fields to evaluate PHP Code.

1 2 3