- Remove $theme_richtext_editor boot var
- Remove "richtext" feature - Remove fix_mce_lf() function - Remove nomce parameter
This commit is contained in:
parent
4ad6a7f073
commit
66482c1d9c
11 changed files with 36 additions and 115 deletions
14
mod/item.php
14
mod/item.php
|
@ -353,20 +353,6 @@ function item_post(App $a) {
|
|||
$categories .= file_tag_list_to_file($filedas, 'file');
|
||||
}
|
||||
|
||||
// Work around doubled linefeeds in Tinymce 3.5b2
|
||||
// First figure out if it's a status post that would've been
|
||||
// created using tinymce. Otherwise leave it alone.
|
||||
|
||||
/* $plaintext = (local_user() ? intval(get_pconfig(local_user(),'system','plaintext')) || !feature_enabled($profile_uid,'richtext') : 0);
|
||||
if((! $parent) && (! $api_source) && (! $plaintext)) {
|
||||
$body = fix_mce_lf($body);
|
||||
}*/
|
||||
$plaintext = (local_user() ? !feature_enabled($profile_uid,'richtext') : 0);
|
||||
if((! $parent) && (! $api_source) && (! $plaintext)) {
|
||||
$body = fix_mce_lf($body);
|
||||
}
|
||||
|
||||
|
||||
// get contact info for poster
|
||||
|
||||
$author = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue