Multiples paragraphs at one click

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Multiples paragraphs at one click

Post by notuo »

Hi.

Is there a way to mimic the behavior of the List button but using <p> instead?
Let me explain. If you have a text like this: *this is actually dummy text.

Suspendisse est felis, feugiat nec.
Mauris egestas fermentum libero.
Aenean sed arcu.
In dictum velit in sapien.
Aenean lobortis. Nulla vitae pede.
Phasellus vitae pede.

If you highlight it and apply the List button you get this

Code: Select all

<ul>
  <li>Suspendisse est felis, feugiat nec.</li>
  <li>Mauris egestas fermentum libero.</li>
  <li>Aenean sed arcu.</li>
  <li>In dictum velit in sapien.</li>
  <li>Aenean lobortis. Nulla vitae pede.</li>
  <li>Phasellus vitae pede.</li>
</ul>
Very clever. But what if I like to have this instead:

Code: Select all

<p>Suspendisse est felis, feugiat nec.</p>
<p>Mauris egestas fermentum libero.</p>
<p>Aenean sed arcu.</p>
<p>In dictum velit in sapien.</p>
<p>Aenean lobortis. Nulla vitae pede.</p>
<p>Phasellus vitae pede.</p>
I need this often. I got the content in word and I have to go paragraph by paragraph converting each of them one a a time, and of course plain text is what a I need in this process, not the word verbose css.

I am asking or suggesting for this feature.

Any ideas are welcome.

Regards
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

first, I had no idea webuilder would make a list like that! that's great. thanks!

two thoughts come to mind to solve your problem. The way I currently deal with that (I get a lot of word docs as well) is to use a snippet. select the paragraph and then I hit ctrl+alt+p to wrap it in <p> tags quickly.

BUT! now that you've taught me something cool about webuilder and lists, I'd be more inclined to wrap it all in <li> tags automatically and then do a find and replace constrained to a selection. searching for all "li>" and replacing with "p>" should set you up quickly.

Will
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Post by MikeyB »

WOW now that is a cool feature, I never knew WeBuilder could do that with a list.
I will be using that a lot now.

But one thing, even tho I have the option Add list item end-tags enabled which puts the </li> on the end reguardless of the doctype, the list button does not add the </li>
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Post by notuo »

syrupcore, Nice approach, I'll try it. But I hope the program can have it soon. The first option, I already use the Paragraph button near the List button I mentioned. Has the same result than the snippet.

MikeB, regarding the Add list item end-tags, at the end I guess it depends of the DOCTYPE you are using. Try to modify that. (I saw this in a post not so long ago)

both, I am glad to help. This is one of the reasons I asked for a documentation change more explicit.

But thinking now, maybe we can all together start some WIKI to make a new documentation. The problem, in my case, is I am not fluent in English (not my mother tong) and the way we write in Spanish is a little different than in English. But this can be solved if someone has control of this or Karlis can designate somebody to review the texts before there are posted.

What do you think Karlis?
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Post by notuo »

Another thought came now to my mind.

I am sure there is a lot of situations like this list button. Maybe we can have ta new forum or entry in the forum *sticky maybe* in order to all of us, simple type our discoverings in those buttons or "time saver" procedures we use all days.
Post Reply