Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #36 from industrydive/TECH-7818-inline-image-attri…
Browse files Browse the repository at this point in the history
…bution

Tech 7818 inline image attribution
  • Loading branch information
sw3dish authored Feb 19, 2020
2 parents 5d54c68 + f7b81f6 commit 9294f16
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ckeditor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.core.exceptions import ImproperlyConfigured

# Following PEP 440 Standards
__version__ ='4.4.7+dive.ckeditor.10' # update this when deploying new version to production
__version__ ='4.4.7+dive.ckeditor.12' # update this when deploying new version to production

if 'ckeditor' in settings.INSTALLED_APPS:
# Confirm CKEDITOR_UPLOAD_PATH setting has been specified.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -969,18 +969,6 @@
new_credit = json_obj.attribution;
}

if ( json_obj.attributionUrl.length ) {
var start_link = '<a href="' + json_obj.attributionUrl + '">';
var link_text = new_credit.length ? new_credit : json_obj.attributionUrl
new_credit = start_link + link_text + '</a>';
}

// set this so that we will replace the current
// credit
if ( ! new_credit.length ) {
new_credit = ' ';
}

return new_credit;
}
},
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_source_files():

setup(
name='django-ckeditor',
version='4.4.7+dive.ckeditor.11',
version='4.4.7+dive.ckeditor.12',
description='Django admin CKEditor integration.',
long_description=open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Shaun Sephton & Piotr Malinski',
Expand Down

0 comments on commit 9294f16

Please sign in to comment.