
evoluspencil - issue #143
"Use HTML Content" doesn't seem to work in Basic Web Elements Table
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.
Comment #1
Posted on Mar 23, 2012 by Quick OxSame with Mac OSx Lion.
Comment #2
Posted on Mar 28, 2012 by Massive PandaI 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.
Comment #3
Posted on Nov 4, 2013 by Happy RabbitHi 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 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.
Comment #4
Posted on May 13, 2014 by Massive WombatHi,
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?
Status: New
Labels:
Type-Defect
Priority-Medium