Skip to content

Commit

Permalink
Set "other" as default link protocol
Browse files Browse the repository at this point in the history
to lessen the chances that
https://resolveuid/xxxxx are setup with plonefinder.
  • Loading branch information
gotcha committed Dec 14, 2023
1 parent c4b77dc commit 0ba5cac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
5.0.0b4 (unreleased)
--------------------

- Set "other" as default link protocol, to lessen the chances that
https://resolveuid/xxxxx are setup with plonefinder.
[gotcha]

- Unregister ck_ruid_to_url as plone.outputfilters come with the same feature.
[gotcha]

Expand Down
1 change: 1 addition & 0 deletions src/collective/ckeditor/browser/ckeditorview.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ def cke_params(self):
params['filebrowserFlashBrowseUrl'] = flash_url
# the basehref must be set in wysiwyg template
# params['baseHref'] = self.cke_basehref
params['linkDefaultProtocol'] = "''"
params.update(self.cke_toolbars())
return params

Expand Down

0 comments on commit 0ba5cac

Please sign in to comment.