Commit Graph

7110 Commits

Author SHA1 Message Date
Jacob Overgaard
405e758bb8 use vite static assets to handle tiny on the dev server and copy tinymce to the right folder on cms build 2023-06-22 15:46:32 +02:00
Jacob Overgaard
b23f55e7fd revert back to TinyMCE for property editors until further notice 2023-06-22 15:46:09 +02:00
Jacob Overgaard
5c39045a0e do not reference externals directly 2023-06-22 15:33:05 +02:00
Jacob Overgaard
13f5dc5785 add .js extensions 2023-06-22 15:25:53 +02:00
Jacob Overgaard
4d7fb683c5 import as namespace because of commonjs nonsense 2023-06-22 15:17:06 +02:00
Jacob Overgaard
52eacc49cc rename Umbraco.TinyMCE to Umbraco.RichText and move configuration to the UI instead 2023-06-22 14:53:37 +02:00
Jacob Overgaard
429e29b0c6 rename stories 2023-06-22 14:50:28 +02:00
Jacob Overgaard
a05d266d01 load manifests dynamically 2023-06-22 14:50:24 +02:00
Jacob Overgaard
0695406b63 use new renderEditor function to render editor 2023-06-22 14:30:55 +02:00
Jacob Overgaard
dbe488563a use types and avoid using Object.assign 2023-06-22 14:30:24 +02:00
Jacob Overgaard
951f391de3 add types 2023-06-22 14:29:59 +02:00
Jacob Overgaard
8b08a5002b add types 2023-06-22 14:29:53 +02:00
Jacob Overgaard
65253fb321 add missing types from tinymce 2023-06-22 14:17:15 +02:00
Jacob Overgaard
347e630895 import tinymce as const and create a function to render the editor, which can be used from outside, and re-export the entire namespace for consumption (not just the const) 2023-06-22 14:16:11 +02:00
Jacob Overgaard
0e1d4afd01 save a ref to the editor element and destroy only that when the component dismounts 2023-06-22 14:13:12 +02:00
Jacob Overgaard
6a692a6cec move logic to firstUpdated and add await so that we dont re-render when tinymce gets loaded 2023-06-22 14:12:32 +02:00
Jacob Overgaard
3f4912a274 fix imports for tinymce input 2023-06-22 11:09:06 +02:00
Jacob Overgaard
bab2f0afab update the story with actual html to test 2023-06-22 10:45:06 +02:00
Jacob Overgaard
7a90789cc0 convert to story to CSF and ensure the config has the right object type 2023-06-22 10:43:20 +02:00
Nathan Woulfe
217aeeb617 destroy active editor when component is removed 2023-06-21 14:58:52 +10:00
Nathan Woulfe
184c27212a disable observing currentUser - breaks tests 2023-06-21 14:34:18 +10:00
Nathan Woulfe
28cc6eef4e no inline 2023-06-21 13:49:20 +10:00
Nathan Woulfe
39d1763c92 no import CodeEditorLanguage types 2023-06-21 13:41:05 +10:00
Nathan Woulfe
5dd99e1c04 update lit imports 2023-06-21 12:43:52 +10:00
Nathan Woulfe
e070e4532d remove obsolete 2023-06-21 12:43:08 +10:00
Nathan Woulfe
8a414317ea clean up code editor modal - ensure language types exported, update package name from ace since no longer using ace editor 2023-06-21 12:42:57 +10:00
Nathan Woulfe
d6ff448822 remove css var, don't output tinymce.min 2023-06-21 11:34:01 +10:00
Nathan Woulfe
055126ab99 stage 2023-06-21 11:05:57 +10:00
Nathan Woulfe
e65bc5d52b updates currentuser access
break down input element for clarity
fix (hopefully) exports
additional types where possible
2023-06-21 11:05:33 +10:00
Nathan Woulfe
b440b28410 update tiny dep to 6.5.1 2023-06-21 11:04:39 +10:00
Nathan Woulfe
f86d5f49b9 Merge branch 'main' into feature/rich-text-editor 2023-06-21 10:48:14 +10:00
Jacob Overgaard
d6c965dfab Merge pull request #785 from umbraco/chore/update-api-models-
Update API models - changes in the templates API
2023-06-20 13:00:29 +02:00
Jacob Overgaard
3f1e08e2aa update according to api models 2023-06-20 12:53:16 +02:00
Jacob Overgaard
170c050007 generate api models 2023-06-20 12:48:23 +02:00
Julia Gru
42ce02db3e update models 2023-06-20 11:43:07 +02:00
Jacob Overgaard
705c731062 Merge pull request #783 from umbraco/chore/naming-of-pickers-and-inputs
Chore/naming of pickers and inputs
2023-06-20 11:16:57 +02:00
Jacob Overgaard
60c8a78007 Merge pull request #784 from umbraco/feature/logviewer-exports
Feature/logviewer exports
2023-06-20 11:07:24 +02:00
Lone Iversen
90e37d6d8b update index 2023-06-20 10:49:12 +02:00
Lone Iversen
da7142d691 logviewer exports 2023-06-20 10:38:40 +02:00
Lone Iversen
97882e682d Merge remote-tracking branch 'origin/main' into chore/naming-of-pickers-and-inputs 2023-06-19 15:34:47 +02:00
Lone Iversen
ea1f491992 input date 2023-06-19 15:34:26 +02:00
Lone Iversen
1c0c3e9c16 media input to input media to match others 2023-06-19 15:24:39 +02:00
Lone Iversen
71188c3252 input before name to match others 2023-06-19 15:20:59 +02:00
Lone Iversen
3ee35f9f02 color input 2023-06-19 15:11:36 +02:00
Lone Iversen
99b5933af9 media input 2023-06-19 14:46:06 +02:00
Lone Iversen
951abd070b document story 2023-06-19 14:39:24 +02:00
Jacob Overgaard
5c47486b8d Merge pull request #754 from umbraco/dependabot/npm_and_yarn/web/dev-server-import-maps-0.1.1
Bump @web/dev-server-import-maps from 0.0.7 to 0.1.1
2023-06-19 14:30:26 +02:00
Jacob Overgaard
23a7e83636 Merge pull request #757 from umbraco/dependabot/npm_and_yarn/rollup/plugin-node-resolve-15.1.0
Bump @rollup/plugin-node-resolve from 15.0.2 to 15.1.0
2023-06-19 14:30:11 +02:00
Jacob Overgaard
12eff14d48 include all commands in build:for:npm 2023-06-19 14:26:19 +02:00
Jacob Overgaard
3f441e3b76 change publish to next tag 2023-06-19 14:25:04 +02:00