Hi,
I don't see how can I wrap the selection to <span> or <div> tags for example. I see other tags available on toolbar but there is no span or div. Or is there some keyboard shortcut I could use and start typing the tags around selection?
wrap selection with tag
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
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;
Re: wrap selection with tag
You can create a snippet for this (Options -> Edit Library)
Insert before caret: <%[Prompt message]=[tag]%>
Insert after caret: </%[Prompt message]=[tag]%>
Insert before caret: <%[Prompt message]=[tag]%>
Insert after caret: </%[Prompt message]=[tag]%>
Blumentals Software Programmer
Re: wrap selection with tag
That works! Thank you.
Is it also possible to have both, opening and closing tags edited in same time. Like: after I enter the tag I select "div" in <div> and start typing "span" and have the "div" in </div> changed to "span" as I type? Maybe I am asking too much but some other editors does this.
Is it also possible to have both, opening and closing tags edited in same time. Like: after I enter the tag I select "div" in <div> and start typing "span" and have the "div" in </div> changed to "span" as I type? Maybe I am asking too much but some other editors does this.
Re: wrap selection with tag
Currently only one selection/cursor is possible.
Blumentals Software Programmer