diff options
author | friendica <info@friendica.com> | 2014-06-28 05:05:34 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-28 05:05:34 -0700 |
commit | 0074ef0bf3cea83b1a177e905222829db26504b6 (patch) | |
tree | 8adf389e73866f737f5e0ee03585a2048d574859 /mod/item.php | |
parent | 532b6f7fcecba569885ccc884969955e32c24135 (diff) | |
download | volse-hubzilla-0074ef0bf3cea83b1a177e905222829db26504b6.tar.gz volse-hubzilla-0074ef0bf3cea83b1a177e905222829db26504b6.tar.bz2 volse-hubzilla-0074ef0bf3cea83b1a177e905222829db26504b6.zip |
rule of snakes #1, kill the snake.
tinymce is gone. if you want a visual editor, figure out what you want and make it happen.
If you don't want a visual editor, do nothing.
This is in the community's hands. I don't need a visual editor.
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mod/item.php b/mod/item.php index 693c64eca..c9ec56eeb 100644 --- a/mod/item.php +++ b/mod/item.php @@ -430,10 +430,14 @@ function item_post(&$a) { // First figure out if it's a status post that would've been // created using tinymce. Otherwise leave it alone. - $plaintext = ((feature_enabled($profile_uid,'richtext')) ? false : true); - if((! $parent) && (! $api_source) && (! $plaintext)) { - $body = fix_mce_lf($body); - } + $plaintext = true; + +// $plaintext = ((feature_enabled($profile_uid,'richtext')) ? false : true); +// if((! $parent) && (! $api_source) && (! $plaintext)) { +// $body = fix_mce_lf($body); +// } + + // If we're sending a private top-level message with a single @-taggable channel as a recipient, @-tag it, if our pconfig is set. |