Bug 853396
Summary: | html edit button missing in editor | ||
---|---|---|---|
Product: | [Other] TCMS | Reporter: | Martin Kudlej <mkudlej> |
Component: | Web UI | Assignee: | Yang Ren <ryang> |
Status: | ASSIGNED --- | QA Contact: | Nobody <nobody> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 3.8.0 | CC: | jcai, junzhang, kvolny, ltoscano, ryang, tpelka, vchen, xkuang, yuwang |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Kudlej
2012-08-31 11:48:13 UTC
Hi, Thanks for your report. We disable html edit button in TCMS3.8.0 because of bug 820933. Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=820933 and you will find the reason on Comment 9. Thanks I understand your reasons to removing edit html button. But now editor outputs ugly document because every hit on enter produces new paragraph and creates big spaces between lines. Could you please fix this somehow or it is feature of TinyMCE? (In reply to comment #2) > I understand your reasons to removing edit html button. But now editor > outputs ugly document because every hit on enter produces new paragraph and > creates big spaces between lines. Could you please fix this somehow or it is > feature of TinyMCE? I'm afraid it is a feature of TinyMCE. According to TinyMCE documentation, TinyMCE produced P tags on enter by default since all desktop and online word processors use the concept of paragraphs on enter and it also makes your content semantic. However, there is a workaround for now. You can new a line with BR tag by Shift+Enter Key. I think it can resolve this problem. will consider how to support plain text, html and xml format in tcms 4.0. I've found way how to edit directly html via Firebug. For example there is no button for adding pretty links. Yes, links are autodetected but if I have long link how do you produce nice link like this? <a href="looong link">name</a> Also maybe I'm blind but I haven't found documentation how to edit text in this editor on pages linked from question mark sign button(http://www.tinymce.com/). Could you please add there link for edit reference. (In reply to comment #5) > I've found way how to edit directly html via Firebug. For example there is > no button for adding pretty links. Yes, links are autodetected but if I have > long link how do you produce nice link like this? > <a href="looong link">name</a> > To produce nice link, you can input url name in editor first, then select it and edit the url info by clicking 'Insert/edit link' button. > Also maybe I'm blind but I haven't found documentation how to edit text in > this editor on pages linked from question mark sign > button(http://www.tinymce.com/). > Could you please add there link for edit reference. You can refer to 'Full featured example' from http://www.tinymce.com/tryit/full.php to learn how to edit text. And you can learn what you want via http://www.tinymce.com/ in my opinion. there are far more annoyances with the editor than just those empty lines it cannot understand sophisticated list structures for example (and I use list numbering a lot to match expected results to actions) bug #820933 is no excuse ... if I could compare it to our work on RHEL, it's like you'd completely remove e.g. MySQL when an security issue in it is found, telling people that from now on they just have to live with another database server and rework all of their stuff to accomodate for that change, instead of just fixing that security issue (In reply to comment #7) > there are far more annoyances with the editor than just those empty lines > > it cannot understand sophisticated list structures for example (and I use > list numbering a lot to match expected results to actions) > > bug #820933 is no excuse ... if I could compare it to our work on RHEL, it's > like you'd completely remove e.g. MySQL when an security issue in it is > found, telling people that from now on they just have to live with another > database server and rework all of their stuff to accomodate for that change, > instead of just fixing that security issue We will consider how to support plain text, html and xml format without causing security problem in tcms 4.0. Actually, we have some ideas like using markdown, which allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). The example link is:http://daringfireball.net/projects/markdown/dingus |