View Single Post
Old 04-24-2018, 01:05 PM   #10
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by handycrowd View Post
This time though I'm following your idea! I'm wrapping each <p> within <div> tags and that separates everything brilliantly. Bit time consuming but once you get into a rhythm...
You could create a Clip using Tools > Clip Editor.

Code:
<div class="clear">\1</div>
and give it a name (like "Div Clear").

Then make sure you can see your Clips bar: View > Clips. I drag mine in the lower left corner:

Click image for larger version

Name:	SigilClipsBar.png
Views:	283
Size:	24.8 KB
ID:	163631

now when you highlight text, you can press on the "Div Clear" clip, and it will wrap the div around it.

So this:

Code:
<p><img src="TestImage"/> This is a sentence.</p>
turns into this:

Code:
<div class="clear"><p><img src="TestImage"/> This is a sentence.</p></div>
Tex2002ans is offline   Reply With Quote