silverstripe-framework/Forms/HTMLEditor
Sam Minnee 93a0122c0f FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “”
Code was assuming that FRAMEWORK_DIR would always have a value. If it
doesn’t (because you’re running a test instance of a naked framework)
This caused URLs to be treated as root relative, which creates some
duplicate-inclusion bugs.

The use of ltrim() works, but is a bit clumsy. A more flexible approach
to including front-end assets of given modules would be preferable;
ideally something that also let you keep your code outside of the
web root.
2016-09-16 16:16:39 +12:00
..
EmbedShortcodeProvider.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorConfig.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorField_Embed.php API Moved frontend assets into admin/ "module" 2016-09-16 13:46:06 +12:00
HTMLEditorField_File.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorField_Flash.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorField_Image.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorField_Readonly.php API Namespace all classes 2016-09-08 10:23:17 +12:00
HTMLEditorField_Toolbar.php FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
HTMLEditorField.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
HTMLEditorSanitiser.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
TinyMCEConfig.php API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00