| |
1 |
1 |
ad_library { |
| |
2 |
2 |
|
| |
3 |
3 |
Integration of TinyMCE with the richtext widget of acs-templating. |
| |
4 |
4 |
|
| |
5 |
5 |
This script defines the following two procs: |
| |
6 |
6 |
|
| |
7 |
7 |
::richtext-tinymce::initialize_widget |
| |
8 |
8 |
::richtext-tinymce::render_widgets |
| |
9 |
9 |
|
| |
10 |
|
@author Gustaf Neumann |
| |
11 |
|
@creation-date 1 Jan 2016 |
| |
|
10 |
@author Antonio Pisano |
| |
|
11 |
@creation-date May 2024 |
| |
12 |
12 |
@cvs-id $Id$ |
| |
13 |
13 |
} |
| |
14 |
14 |
|
| |
15 |
15 |
namespace eval ::richtext::tinymce { |
| |
16 |
16 |
|
| |
17 |
17 |
ad_proc -private version {} { |
| |
18 |
18 |
return [::parameter::get_global_value \ |
| |
19 |
19 |
-package_key richtext-tinymce \ |
| |
20 |
20 |
-parameter Version] |
| |
21 |
21 |
} |
| |
22 |
22 |
|
| |
23 |
23 |
ad_proc -private api_key {} { |
| |
24 |
24 |
return [::parameter::get_global_value \ |
| |
25 |
25 |
-package_key richtext-tinymce \ |
| |
26 |
26 |
-parameter APIKey] |
| |
27 |
27 |
} |
| |
28 |
28 |
|
| |
29 |
29 |
ad_proc -private cdn_host {} { |
| |
30 |
30 |
return https://cdn.tiny.cloud |
| |
31 |
31 |
} |