1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Issue #624, Fixes #625 - TinyMce image paths issue.

This commit is contained in:
Cameron
2014-06-12 15:21:26 -07:00
parent e276754313
commit ba72b740c2
2 changed files with 14 additions and 2 deletions

View File

@@ -11,6 +11,11 @@ if (!defined('e107_INIT')) { exit; }
//e107::css('gallery', 'jslib/lightbox/css/lightbox.css','jquery');
// See: http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone
if(USER_AREA)
{
e107::js('gallery', 'jslib/prettyPhoto/js/jquery.prettyPhoto.js','jquery');
e107::css('gallery', 'jslib/prettyPhoto/css/prettyPhoto.css','jquery');
@@ -91,6 +96,6 @@ $(document).ready(function()
unset($gp);
}
?>

View File

@@ -240,7 +240,14 @@ class wysiwyg
$this->config['convert_fonts_to_spans'] = false;
$this->config['content_css'] = 'http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css';
$this->config['relative_urls'] = false; //Media Manager prefers it like this.
$this->config['preformatted'] = true;
$this->config['document_base_url'] = SITEURL;
// $this->config['verify_css_classes'] = 'false';
return;
// -------------------------------------------------------------------------------------