]
Konstantin Marmalyukov updated JBIDE-16938:
-------------------------------------------
Fix Version/s: LATER
(was: 4.3.x)
Source code formatting is not working
-------------------------------------
Key: JBIDE-16938
URL:
https://issues.jboss.org/browse/JBIDE-16938
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: visual-page-editor-core
Affects Versions: 4.2.0.Beta1
Environment: JBDS 8.0.0.Beta1-v20140323-1410-B78 Linux
Reporter: Vlado Pakan
Assignee: Konstantin Marmalyukov
Priority: Minor
Fix For: LATER
1. Create HTML page with this content
{code}
<!DOCTYPE html>
<html ng-app="dsd">
<body>
textbody
<h1>texth1</h1>
</body>
</html>
{code}
0. Double click on "texth1"
ASSERT: Formatting buttons are enabled
1. Click within text "textbody"
ERROR: Formatting toolbar buttons are disabled
2. Click within text "texth1"
3. Click button Italic
ASSERT: "texth1" is surrounded by <i> tags
4. Repeat step 2. and click on button bold
ERROR: "texth1" is not surrounded by <b> tags. Text <b></b>
is added after "texth1"
5. Double click on "texth1"
ERROR: Formatting buttons are disabled