Design view not working when making xhtml (E-book) files
I am making E-books (EPUB3) in DW CC 2017.0.1
The EPUB standard uses xhtml files, so that's what I am making. I use this heading which is standard, with no DOCTYPE:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
This has been working fine until now. But now, probably since the last DW update, it won't display anything in Design view. Only Live view works.
This only happens on my laptop (PC). On my desktop PC, Design view still displays just fine after last update.
Older versions of DW on my laptop also displays Design view just fine.
So it shouldn't be a problem with my code - it ought to be in DW 2017 settings on my laptop. I've been searching and comparing settings between my two PC's, but can't track it down.
If I put in a <!DOCTYPE html> the Design view works, as suspected. But that leads to other problems, and the DOCTYPE shouldn't be needed in an E-book xhtml document anyway.
Also, as a possible clue: When in (the non-working) Design view and clicking in the Code (Split Mode), it doesn't show the descending Tags in Tag Selector, as in:
body -> div .content -> h1
Instead it displays:
http://www.w3.org/1999/xhtml:html -> http://www.w3.org/1999/xhtml:body -> http://www.w3.org/1999/xhtml:div -> http://www.w3.org/1999/xhtml:h1
Switching to Live view shows the right tags in Tag Selector.
Any advice greatly appreciated!
/Stefan
