Search found 10 matches

by spike21
2011-05-06 00:11
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Hi Fred, thanks for taking the time to post. That link deals more with telling KTML not to strip out certain types of tags (e.g. script tags) rather than stopping it from double-escaping already escaped content. For me, I'm just waiting for aloha editor to become mature and then I'll switch to that ...
by spike21
2011-04-14 10:20
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

It's still in development. And contenteditable isn't implemented in mobile safari and probably in whatever you use on android so it'll never work on those browsers :) keep an eye on it and see where it goes :)
by spike21
2011-04-14 09:05
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Sorry bro, was never able to solve it. If you are able to find a way let me know :D I'd say it's burried somewhere deep in their code :) On a side note, I've got my eyes on the Aloha Editor, I think that's going to be the next big thing and will blow these box based editors out of the water. It's op...
by spike21
2010-10-21 23:29
Forum: KTML for Dreamweaver
Topic: Internet Explorer and anchor links
Replies: 3
Views: 9210

Re: Internet Explorer and anchor links

Ah yes, you're correct, but the caveat here is that the links get changed again on page save. So essentially the only way around it is to put the full path to the page in the address also, which stops the re-writing. Very strange :)

Cheers,

Brendon
by spike21
2010-10-21 02:00
Forum: KTML for Dreamweaver
Topic: Internet Explorer and anchor links
Replies: 3
Views: 9210

Internet Explorer and anchor links

Hi all, There was a problem with IE and inserting anchor links in a KTML document. Basically IE adds the name of the editing script on to the anchor: e.g. We're adding a link to #people IE changes this to edit#people because we're on the edit page of our app. If you just had plain php scripts or som...
by spike21
2010-05-24 11:40
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Looks like this guy found the same problem. Not sure if it was ever fixed though:

http://doc.gestalt-inc.com/wiki/index.p ... le_Element
by spike21
2010-05-24 11:35
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Thanks Fred :) I've used the settings to allow all tags except for IFRAMES so I don't think that's the precise bit of code that's doing it. I think somewhere along the lines it's just escaping the percentage signs of escaped characters it doesn't recognise. I found it unusual that this site would es...
by spike21
2010-05-24 05:34
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Just following that up. I tried setting xhtml allowedmodule to false and that disables xhtml save, but it still mangles the code. The code mangling happens when you switch back to code view after pasting your code and leaving code view so I guess it's something deeper :) It appears that KTML is re-e...
by spike21
2010-05-24 05:22
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

Re: KTML messes up embedded code pasted into code view

Hi Fred, thanks for the reply :) I've abstracted the KTML code out into a Rails app, so I only have the code now (not the dreamweaver extension that generates the code). I was trying to find that property and can only see this vague reference: $ktml_{$_GET['inputid']}->setModuleProperty("xhtml&...
by spike21
2010-05-19 05:15
Forum: KTML for Dreamweaver
Topic: KTML messes up embedded code pasted into code view
Replies: 13
Views: 21461

KTML messes up embedded code pasted into code view

Hi all, I must say, it's good to see people still using KTML and trying to support it. I agree, it's still the best out there. It's a shame they shut it down. Anyway, I've come across a problem where KTML breaks embedded code that is pasted into code view. The examples I have is this (the original):...