So here we are at CS6, and you STILL can not copy text out of InDesign, paste it into Dreamweaver, and have basic formatting carry over. I can copy text from InDesign and paste it into Microsoft Word, and the formatting gets retained. I can copy text out of Word and paste it into Dreamweaver, and the formatting gets retained. How many years are we going to wait for this basic productivity feature to exist between InDesign and Dreamweaver??
They work beautifully together now.
InDesign has an export to HTML feature. Mapping styles to tags gets you well formatted HTML that you can paste into Dreamweaver to be styled with your existing CSS.
Pasting text out of Word into Dreamweaver bring along so much crap I would never do it. I just use plain text for that.
If you export to HTML from InDesign you don't get text with basic formatting tags on it. Try exporting a sentence of text with a word bolded in the middle of it, and this is what you get:
|<p class="x01-text"><span class="char-style-override-1">this is some </span><span class="char-style-override-2">text </span><span class="char-style-override-1">here</span></p>|
That's completely useless. It should look like this:
<p>this is some <b>text</b> here</p>
Plus, all you have to do in Dreamweaver is select "Text with structure and basic formatting" in the Copy/Paste preferences and you don't get all the junk when copying from Word. You get HTML that looks exactly what I enter above: just basic formatting.
PLUS, I don't want to have to create a temporary file for each bit of text I want to copy out of InDesign, then open that file in Dreamweaver and copy the text from there. I want to copy once, and paste once.
I don't want to have to manually map styles in every single document I open just to be able to copy and paste text. It would take less time to copy the text, paste it into Word, then copy it from there and paste into Dreamweaver. This also works perfectly, but why should I have to do even this?
And, like I said, I don't want to have to create temporary files for each block of text I want to copy (which your method would involve).
The question really is, why is Word able to read the formatting (and has for years) and Dreamweaver still isn't?
That’s how it works. If that doesn’t suit you then file your request here:
Have you tried tag mapping with bullets? Here's what you get:
<li><span class="char-style-override-2">•	</span>And another bullet</li>
<li><span class="char-style-override-2">•	</span> </li>
It hard codes the bullet character into the text! Plus, if you don't create a new "bullet" style and apply it to all the text that has "Apply bullets" assigned to it (so that the style of the text is still the basic paragraph style), you get this:
<p class="para-style-override-1"><span class="char-style-override-2">•	</span>and here is a bullet.</p>
There is no <li> tag. That's not even correct HTML formatting! So I wouldn't say tag mapping "works perfectly".
Yes, and if you map to li, it works perfectly.
It looks like you’re exporting to epub which certainly botches the living hell out UL and OL styles.
Exporting to HTML from CS6 with a style using bullets and numbers mapped to li works fine.
I just tried exporting a trial InDesign CS6 file with bullets to ePub and the thing is a mess. I can't figure out how to get the hanging indents, even though the export dialogue box is set to Map to Unordered Lists.
Is this a flaw in CS6? Should I just give up, crack the ePub and hand code each list that way? The book I'm designing is 40K words long and absolutely filled with lists since it's an instructional text. ARGH!
Also, anyone know what's the best way to unzip, then rezip a CS6 ePub on the Mac?
Bullets and numbering out CS6 to EPUB makes a mess of the HTML.
You may find this article helpful: