GetSimple Support Forum

Full Version: links in content bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when i create a new page.. and in content i create a some link to site "link to a local page".. it's working...
problem is ... when i want to edit this page and edit a link ...
I note the link, I click edit a hyperlink, and I have:
https://dl.dropboxusercontent.com/u/4998...issue1.jpg

why it's not get a link type from "link to local page" ?

before saving the page pointed to the link to the already existing "link to local page".
When you save the page .. edit points to the link type the URL and not "link to local page"
Cause it doesn't track that it's a local page. I guess it could with some config.js hacking.
not really, you would have to parse the url in ckeditor callbacks and find the matching slug permalink url and convert it back, but what if the permalink structure changed since then?

Best practice would be to store the slug or asset in some kind of data tag or comment.

data-gsslug
data-gsasset or something and then extract it back out on dialog definition.