Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
679c6f81
Commit
679c6f81
authored
11 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-949: enable paste of images in TinyMCE
parent
5f2ef4c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java
+2
-0
2 additions, 0 deletions
...lexible/impl/elements/richText/RichTextConfiguration.java
with
2 additions
and
0 deletions
src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java
+
2
−
0
View file @
679c6f81
...
...
@@ -105,6 +105,7 @@ public class RichTextConfiguration implements Disposable {
private
static
final
String
FORCED_ROOT_BLOCK
=
"forced_root_block"
;
private
static
final
String
FORCED_ROOT_BLOCK_VALUE_NOROOT
=
""
;
private
static
final
String
DOCUMENT_BASE_URL
=
"document_base_url"
;
private
static
final
String
PASTE_DATA_IMAGES
=
"paste_data_images"
;
//
// Generic boolean true / false values
private
static
final
String
VALUE_FALSE
=
"false"
;
...
...
@@ -258,6 +259,7 @@ public class RichTextConfiguration implements Disposable {
setQuotedConfigValue
(
EXTENDED_VALID_ELEMENTS
,
EXTENDED_VALID_ELEMENTS_VALUE_FULL
);
setQuotedConfigValue
(
INVALID_ELEMENTS
,
INVALID_ELEMENTS_FILE_FULL_VALUE_UNSAVE
);
setNonQuotedConfigValue
(
PASTE_DATA_IMAGES
,
"true"
);
// Setup file and link browser
if
(
baseContainer
!=
null
)
{
setFileBrowserCallback
(
baseContainer
,
customLinkTreeModel
,
IMAGE_SUFFIXES_VALUES
,
MEDIA_SUFFIXES_VALUES
,
FLASH_PLAYER_SUFFIXES_VALUES
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment