donieardianto / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

"Use HTML Content" doesn't seem to work in Basic Web Elements Table #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a blank document
2. Drag the Basic Web Elements Table icon onto the document
3. Right click on the table, and set Use HTML Content.

What is the expected output? What do you see instead?

All of the default text in the table disappears.  I would expect to see no
change.  Also, there seems to be no way to enter any HTML content in the table.

What version of the product are you using? On what operating system?

V1.1, build 1, on both Windows XP & XP64.

Please provide any additional information below.

Original issue reported on code.google.com by lpennin...@gmail.com on 4 Feb 2010 at 9:16

GoogleCodeExporter commented 9 years ago
Same with Mac OSx Lion.

Original comment by jfcrotea...@gmail.com on 23 Mar 2012 at 2:53

GoogleCodeExporter commented 9 years ago
I looked at the source code, and I think I figured out this problem: there are 
two functions that creates DOMElements: one in Common/Utils.js and other in 
Behaviour/CommonFunctions.js

The property _html (which is set in the Definition.xml for the Table Element) 
is used only by the method in Common/Utils.js, but the method used to draw the 
Table Element is the one in CommonFunctions.js.
I just copied the same treatment for the property _html in the method in 
CommonFunctions.js to make it work (3 lines diff attached), but a nicer 
solution will probably require some refactoring.

Original comment by eliasdor...@gmail.com on 28 Mar 2012 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
Hi guys,

Is this fixed merged into a released pack? I can't see it in 2.0.5 Linux 
edition. But I merged the diff to the said js file in 
/usr/share/pencil/content/pencil/behavior. There's been no change.

I added <table> and few rows. Those were not correctly rendered. All I see is 
that a table row gets added when I add a new line. Appreciate a fix since the 
product looks wonderful.

Original comment by kas...@wso2.com on 4 Nov 2013 at 12:22

GoogleCodeExporter commented 9 years ago
Hi,

In a forum topic by the url 
https://groups.google.com/forum/#!topic/pencil-user/UKd6wLuyelQ 
Mikalai Chaly posted a possible workaround, but don't works for me.

Any news?

Original comment by jeferod83 on 13 May 2014 at 2:25