Sorry folks, but I've had no experience with wysiwyg editors terminology so I'm just going to have to demonstrate.
Below is a paragraph that I formatted to a 'textwidth' of 68 in my vim editor ------------------------------------------------------------------------------ Dolphy is a Model-View-Controller framework in the python programming language. I use the abbreviation 'lmvc2' for Loader-Model-View-Controller-Config, since I put a lot of emphasis on configuration and the loader is king. "Data Drives It".
Now, I'm going to se textwidth to 80 and 'reformat' ------------------------------------------------------------------------------ Dolphy is a Model-View-Controller framework in the python programming language. I use the abbreviation 'lmvc2' for Loader-Model-View-Controller-Config, since I put a lot of emphasis on configuration and the loader is king. "Data Drives It".
How can I do that with a drupal wysiwyg editor? thanks
Why would you want to do that? You clearly don't understand html. Text areas automatically flow to fill the available width and that width typically depends on screen width. So if one is on a smart phone with a small width or a large screen with a wide width it will flow to that width. You can insert hard returns every n characters and get what you want, but it will look terrible in text areas narrower than that, over which you have no control. Forget paper! On the web you design by making the text areas the right width using css and html controls, not by diddling within the text area.
On Fri, Feb 1, 2013 at 5:08 PM, Tim Johnson tim@akwebsoft.com wrote:
Sorry folks, but I've had no experience with wysiwyg editors terminology so I'm just going to have to demonstrate.
Below is a paragraph that I formatted to a 'textwidth' of 68 in my vim editor
Dolphy is a Model-View-Controller framework in the python programming language. I use the abbreviation 'lmvc2' for Loader-Model-View-Controller-Config, since I put a lot of emphasis on configuration and the loader is king. "Data Drives It".
Now, I'm going to se textwidth to 80 and 'reformat'
Dolphy is a Model-View-Controller framework in the python programming language. I use the abbreviation 'lmvc2' for Loader-Model-View-Controller-Config, since I put a lot of emphasis on configuration and the loader is king. "Data Drives It".
How can I do that with a drupal wysiwyg editor? thanks -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]
* Walt Daniels wdlists@gmail.com [130201 16:23]:
Why would you want to do that? You clearly don't understand html. Text
I've been a web programmer for 17 years. Goodbye
* Tim Johnson tim@akwebsoft.com [130201 13:18]:
Sorry folks, but I've had no experience with wysiwyg editors
I should have included that I am migrating text from vim with hard line breaks. I think my solution will be found in the vim mailing list.
In the meantime, I could use a little tutorial on using a wysiwyg editor....
cheers
How line breaks are treated by WYSIWYG editors is determined by their configuration so you need to read up on how to configure whatever WYSIWYG editor you are using.
On Fri, Feb 1, 2013 at 9:58 PM, Tim Johnson tim@akwebsoft.com wrote:
- Tim Johnson tim@akwebsoft.com [130201 13:18]:
Sorry folks, but I've had no experience with wysiwyg editors
I should have included that I am migrating text from vim with hard line breaks. I think my solution will be found in the vim mailing list.
In the meantime, I could use a little tutorial on using a wysiwyg editor....
cheers
Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com -- [ Drupal support list | http://lists.drupal.org/ ]
* Walt Daniels wdlists@gmail.com [130201 18:10]:
How line breaks are treated by WYSIWYG editors is determined by their configuration so you need to read up on how to configure whatever WYSIWYG editor you are using.
Thank you Walt, much appreciated. Will do as you instruct.
And I got some tips back from the vim folks on how to prepare the text.
cheers
Why?
There is a big difference between displaying text in a web browser and in whatever text editor you are using. You can set vim to display whatever you want for readability, but that doesn't mean it is going to display that way in my browser.
The best you can do is set a width for the container in your HTML and CSS, it will wrap at that point. Your code formatting in vim really isn't a Drupal thing.
If you are looking for specifics on Drupal text formats and WYSIWYG editors in general, the issue queue for whatever module you are using is probably the best place to start.
* Al Sessions fultonchain@gmail.com [130203 13:41]:
Why?
There is a big difference between displaying text in a web browser and in whatever text editor you are using. You can set vim to display whatever you want for readability, but that doesn't mean it is going to display that way in my browser.
The best you can do is set a width for the container in your HTML and CSS, it will wrap at that point. Your code formatting in vim really isn't a Drupal thing.
If you are looking for specifics on Drupal text formats and WYSIWYG editors in general, the issue queue for whatever module you are using is probably the best place to start.
Understood. What I really needed to do (I think) is set up a routine that brings text from vim into drupal without hard line breaks. I believe that goal has been met.
Thanks Al