Hi
I use drupal 4.6.3 with the TinyMCE and img_assist modules installed. The basic installation of Drupal was done by Fantastico.
TinyMCE has been enabled on all text areas. I am facing the following problems and could I please get some help in them:
1> the Rich Text feature seems to work on all counts except translating the line breaks. This means that although when I type, I hit "enter" and get a line break inside the textarea window, it does not show up in the post itself, neither during preview nor after submission. Rest of the formatting things: bold, italics and insertion of url links etc. works fine.
2> img_assist shows all the images I have uploaded using upload.module, but when I try to insert the image/thumbnail, either as html or as Filtered HTML enabled at the bottom, it doesn't insert it - instead, I have to click on the "code" button, copy the F-HTML code, convert my text from rich text to F-HTML and paste the code there. Hugely difficult for me, and impossible for all my site members!
Could I please get some help in this? is it a problem in installation?
TinyMCE version is 2.0.2 and img_assist version is 4.6
Thanks!
Comments
Hi,
Hi,
a suggestion regarding 1> - check if p and br are allowed tags to "Filtered HTML" input format, and add them if they are missing.
Thanks
Hey that worked!
Thanks.
Wondering about 2> though.
http://www.wahwah.in
Did you ever find a solution
Did you ever find a solution to item 2? I have the same problem.
Thanks
Could you please tell me
Could you please tell me what are the steps to add p and br in allowed tags to "Filtered HTML" input format?
Thanks!
Input formats
administer » input formats, click configure for Filtered HTML, select the tab 'configure', (url: admin/filters/1/configure) then add those tags to 'Allowed HTML tags'.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
I know that it is
I know that it is administrators/input filter but what next? There I have checked everything but PHP controlor. In my allowed HTML tags I don't see
<p>and<br>although in the next line it is writtend that lines will be converted automatically it isn't that way when I write text.Does anyone know the solution that when I write text and when I enter Shift+Enter that I go to next line and when I click Enter that I get new paragraph.
Thanks!
[fixed tags - Heine]
Linebreak converter
Make sure that the linebreak converter comes after the HTML filter.
Do you use TinyMCE?
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Yes, I use TinyMCE. Please
Yes, I use TinyMCE. Please give me more details on how can I add tags so that I have the allowed tags to be the same like on this Drupal forum.
From install.txt
Go to administer » input formats (admin/filters). Enter 'Rich-text- in 'Name' and click 'Add input format'.
Select Richt-tex as default (if you want all roles to use TinyMCE; otherwise assign roles).
Click 'Configure' for the Rich-text format; make sure all filters are disabled (edited to add: not so sure whether that's such a good idea; leave HTML flter on, just add
and
if required.
Edited to add:
Go to administer » settings » tinymce and edit / add a profile; set 'Force P new lines' to true (When enabled, Mozilla/Firefox will generate P elements on Enter/Return key and BR elements on Shift+Enter/Return..)
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
I did that and I thought
I did that and I thought that it was OK. I read that in readme documentation. However, while the majority of article is well formated, the first sentence isn't, go on the right side and I have to use side bar.
I made that Rich text editing and didn't check any filter, then I made that filter to be Default. However, I didn't check anything for roles it was checked automatically after I set that to be default.
Then, I resized textarea in TinyMCE to be smaller and now it is better but I don't know why when I made testing and entered in one line q in another line w, in third line e in the whole width on the site those lines are different lenght!? Why those lines with characters are not the same lenght when they are the same length in TinyMCE editor?
Is there some option in TinyMCE that the user doesn't have to do anything, just to type and the text is going automatically in the next line, so that the user doesn't have to click Shift+Enter. To be the same like when I type post in this forum.
Now, when I enter it is
Now, when I enter
it is shown as
on the site instead to make Read more. How to do that when I use rich text filter in TinyMCE?
Sorry
But I really can't make sense of your last two posts. Can you describe your problem more accurately / in such a way I can comprehend?
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
OK. I resized the textarea
OK. I resized the textarea in TinyMCE and then it was OK with text formatting, I mean that text is not going to much on the right side.
I'm interested when I want to enter a teaser text. So, for example, the first paragraph is shown and then user sees Read More link for the rest of the article. I know that I have to place
for that but when I place it in my article in TinyMCE editor on the web site is not shown Read more link. It shows
as a text.
<!--break-->
I guess you want to use the <!--break--> tag? Simply switch to source view (HTML button) and enter it. See also http://drupal.org/node/22692
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Heine, thanks for answering.
Heine, thanks for answering. However, I don't see that HTML button. Is that some icon below textarea in TinyMCE or is it in input format option?
Also, I don't know why when I add an image using Rich-text input filter I get this:
[img_assist|nid=46|title=|desc=|link=none|align=left|width=100|height=73]
When I switch back to Filtered HTML it is OK but then the text is not formatted.
I'm really appreciate for your help. Please tell me more details about how can I switch to source view and this issue with image in Rich-text filter. I know how to switch in Source view in Dreamweaver but don't know in Drupal.
Thank you!
I found solution for image
I found solution for image issue. I have to choose HTML code in Image Window instead of Filtered tag.
Now, I only have to solve that
tag.
Have you been able to add p
Have you been able to add p and br tags?
'Advanced view'
The HTML button only appears when you've set the TinyMCE theme in profile to 'advanced'.
Go to administer » settings » tinymce and edit / add a profile -> set 'theme' to advanced.
You also need to go to input formats again and configure your rich text format: enable the filter 'Inline images'. If that works, you may want to enable the HTML filter as well; make sure it goes before (is above) 'inline images' and add <p> and &br /> if necessary.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.