Closed (fixed)
Project:
Job Posting
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 14:59 UTC
Updated:
29 Oct 2008 at 18:42 UTC
The job description textarea field is not 'seen' as a textarea that can be edited using the new WYSIWYG editor. This is, because the WYSIWYG module detects textarea by their 'Input format' element, which is named 'format' in regular Drupal nodes. In Job_Posting, though, it is called 'filter'.
So, to make a WYSIWYG editor appear in the job description text area, I modified this:
Line: 304
Old code:
$form['required']['body_filter']['filter'] = filter_form($node->format);
New code:
$form['required']['body_filter']['format'] = filter_form($node->format);
Hope this can be included in the official code so I can update job_posting with new releases? Thanks!
Comments
Comment #1
gmarus commentedThanks for the report and patch. Your fix has been committed to HEAD and the branches so it will appear in the daily dev snapshots (whenever they get updated) as well as future releases. Thanks again.
Comment #2
gmarus commentedchanging status to 'fixed'
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.