View Issue Details

IDProjectCategoryView StatusLast Update
0002252Composrcorepublic2016-03-05 19:08
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002252: WYSIWYG glitching out again
DescriptionI'm re-opening this issue in another tracker because I can't find the old one. But I've found a case where the WYSIWYG editor is completely trashing the comcode tags when you go to edit a comcode page. The page itself is normal and functions properly, but WYSIWYG is not parsing the comcode correctly when you go to edit the page, thereby messing up the page.

https://lovinity.org/staff is the page. And I've been able to reproduce it several times. Inspect Element shows nothing in terms of problems with WYSIWYG.

Also had an issue where the editor won't let you put a comcode tag within a comcode tag. If you try, it sticks the tag after the end of the previous tag. For example, if I want:

<tabs>
<box>
</box>
</tabs>

even though my cursor is inside the tabs, it will still stick the box outside the tabs, like this:

<tabs>
</tabs>
<box>
</box>
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2016-03-05 18:09

administrator   ~0003403

Narrowed the Comcode-WYSWIYG case to...

[semihtml]

[tabs param="xxx"]
    [tab default="1" param="yyy"]
        <div>
</div>
    [/tab]
[/tabs]

[/semihtml]

Chris Graham

2016-03-05 19:08

administrator   ~0003404

Fixed both issues.

2nd issue relates to CKEditor "Magic Line" feature:
http://ckeditor.com/addon/magicline
I had to enable it everywhere in the config, then mark the block Comcode tags as block tags in the CKEditor DTD.

Issue History

Date Modified Username Field Change