hyperlink - How to make CKEditor reconise AJAX page link -
i use cke on website. full ajax engine , works fine cke, no problem ajax.
my little problem when want work on links.
i edit area, write link :
<a href='#!idpage' title='name of page' >name of page</a> no problem record , use it. when come edit it, cke don't recognize ! , input empty, no name, no link, ... must write them again :(
for cke not http link , not anchor too. not start http or # #! google advice use.
how can fix ? thanks
today try make modif in cke link.js
edit line 80 : urlregex = /^((?:(?:http|https|ftp|news):\/\/)|(?:#!))?(.*)$/, add line 375 [ '#!\u200e', '#!' ], edit line 401 : urlonchangeprotocol = /^(?:(?:http|https|ftp|news):\/\/)|(?:#!)(?=.)/i, it better, not edit link :(
Comments
Post a Comment