New line, repeat tags

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
G-Sun
Posts: 70
Joined: Mon Feb 11, 2013 12:40 pm

New line, repeat tags

Post by G-Sun »

Hi!

Is there a way to make a new line,
repeating the tags of previous line?
Preferably by hitting enter.

Like

Code: Select all

<p class ="BokTekstStor">Utdanning og studier</p>
to

Code: Select all

<p class ="BokTekstStor">Utdanning og studier</p>
<p class ="BokTekstStor"></p>
This is very handy when editing large sections of text, or list-elements.
www.g-sun.no/en/
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: New line, repeat tags

Post by Aivars »

What if you simply want to add a newline without repeating the previous line tag?
Blumentals Software Programmer
G-Sun
Posts: 70
Joined: Mon Feb 11, 2013 12:40 pm

Re: New line, repeat tags

Post by G-Sun »

Aivars wrote:What if you simply want to add a newline without repeating the previous line tag?
Yes, of course.
Could be optional, and set to modifier + enter

And cursor position should be inside tags.
Last edited by G-Sun on Thu Sep 05, 2013 3:57 pm, edited 1 time in total.
www.g-sun.no/en/
G-Sun
Posts: 70
Joined: Mon Feb 11, 2013 12:40 pm

Re: New line, repeat tags

Post by G-Sun »

And another similar option
for dealing with large chunks of text could be:

From

Code: Select all

<p>First paragraph. Second paragraph. Third paragraph</p>
to

Code: Select all

<p>First paragraph.</p>
<p>Second paragraph. Third paragraph</p>
with maybe another modifier + enter
www.g-sun.no/en/
G-Sun
Posts: 70
Joined: Mon Feb 11, 2013 12:40 pm

Re: New line, repeat tags

Post by G-Sun »

I just found it hard to paste large chunks of text,
needing to hard-code everything.

Paste special would be handy with the option to preserve basic formating from doc, docx, html-pages
www.g-sun.no/en/
Post Reply