-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't evaluate html and css. #66
Comments
Looks like I find the reason of this problem. Here is skewer page body right after
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/test.css">
<title>Test page</title>
</head>
<body>
<h1>This is a table (c) K.O.</h1>
<table>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>|
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
</body>
</html> After I press Here real head tag gets new children tag and whole body inside it.
<body>
<h1>This is a table (c) K.O.</h1>
<table>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>|
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
</body> After I press Table was wrongly inserted into header so we got "C" header on page.
<body>
<table>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>|
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
</body> We got correct result for this buffer:
<table>
<tr>
<td>A</td>
<td>B</td>
<td>C</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table> Result so far: Nothing happens. I don't know if this is
Hope this help. |
Also if I count ancestries with
for each case correspondingly. |
You need a complete HTML document (html and body) in your buffer in |
So it looks like expected behaviour. I guess this issue maybe reformulated as "web-mode isn't supported" since first example does have full html. |
I can't get the result display in skewer demo tab in Chrome. Here is my code: <!DOCTYPE html>
<html>
<head>
<title>test</title>
<meta charset="utf-8" />
</head>
<body>
<p>Hello, world!</p>|
</body>
</html> I put cursor at Just saw a log in Chrome console:
I found there are many others code in page source code, some are from Chrome extensions. |
Like C-M-x in other modes, put the cursor inside to form you want to |
I see, thanks, It work as I expected. |
Hello.
First of all thanks for awesome project. I have some troubles with skewer-html-mode and skewer-css-mode.
skewer-html-mode issue
Steps to reproduce:
|
character signify point position<table>...</table>
region highlighted<body>
tag inner html steal empty.skewer-css-mode issue
Suppose we have following css file
If I press C-M-x whole buffer highlighter for a second but style doesn't applied to the skewer tab.
Browser version
Firefox 43.0.
There is no problem with javascript code evaluation. I can modify page html with js code and result appears immediately in the browser. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: