Skip to content

Commit 58d2376

Browse files
Farcasutoanalavinia
authored andcommitted
Editing a page that has an embeded document doesn't work properly #79 (#80)
* The initial structure was generating invalid HTML, and because of this, WYSIWYG was moving nodes around. To solve this, I need to add the block wrapper myself.
1 parent 0968124 commit 58d2376

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/GoogleApps/DriveMacro.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ if(!gagroovy.useDrive) {
458458
if (editLink && editLink.startsWith("http"))
459459
print """ - [[Edit>>url:${editLink}]]"""
460460
println ")))"
461-
println """{{html clean=false}}<iframe src="${embedLink}" width="${width}" height="${height}"></iframe>{{/html}}"""
461+
println """{{html clean=false}}<div><iframe src="${embedLink}" width="${width}" height="${height}"></iframe></div>{{/html}}"""
462462
} else {
463463
def tquery = ""
464464
if (query)

0 commit comments

Comments
 (0)