Raymond Zhou
09110ec0b0
feat: run onImgLoad even on broken images ( #102 )
...
* feat: run onImgLoad even on broken images
2022-08-23 06:00:46 -04:00
connorhaugh
564dcb8ebc
feat: improve raw HTML editing Experince. ( #101 )
...
* feat: add contents
* feat: add codemirror support to raw HTML editing
* feat: add test coverage
* fix: error
* fix: update codeeditor file path
* fix: update messages
2022-08-22 15:19:21 -04:00
Kristin Aoki
617f316f37
feat: allow relative urls for assets
2022-08-18 09:04:44 -04:00
Kristin Aoki
d68c357a86
feat: resolve console errors regarding skin.css
2022-08-15 11:26:39 -04:00
Kristin Aoki
f86e1fe97e
feat: update editor text to match studio styling
2022-08-12 10:47:11 -04:00
Raymond Zhou
476c450e6c
Feat updates to code block button ( #93 )
...
* feat: updates to code block button
* feat: updates to code block button
2022-08-10 12:59:03 -04:00
Kristin Aoki
1b180de468
feat: add altText and isDecorative persistence for image editing
2022-08-10 09:17:35 -04:00
Kristin Aoki
d739bcbdb5
feat: Prevent image uploads larger than 10 MB and add spinner
2022-08-08 15:44:59 -04:00
Kristin Aoki
9b23731acc
feat: Add functionality to resize image based on percentage ( #94 )
...
* feat: add image resizing with percents
2022-08-05 12:13:57 -04:00
KristinAoki
cc7e502011
fix: added underline option to toolbar. TNL-10003
2022-08-01 09:11:01 -04:00
Raymond Zhou
80dfc6ba15
feat: www gallery raw selection ( #88 )
...
* feat: www gallery raw selection
2022-07-22 10:58:55 -04:00
connorhaugh
2473c9a875
chore: upgrade paragon dep ( #89 )
...
* chore: upgrade paragon dep
* fix: eslint config
2022-07-05 09:08:15 -04:00
Raymond Zhou
b047f7a2a8
feat: raw html editor ( #86 )
...
raw html editor
2022-06-28 14:25:09 -04:00
connorhaugh
b2fec70702
feat: swap relative Urls bool ( #85 )
2022-06-10 10:46:34 -04:00
connorhaugh
728dc58ac4
fix: Remove addition to URLs in text editor ( #84 )
2022-06-09 09:43:23 -04:00
connorhaugh
cc4e19cd2a
fix: redirect to correct learning context ( #83 )
...
For https://2u-internal.atlassian.net/browse/TNL-9955
there are multiple instantiations of the text editor in different contexts, so we need to handle them upfront to not break either experience flow” or something along those lines…
2022-06-09 09:41:31 -04:00
Raymond Zhou
ca9f788838
feat: toolbar stays visible when scrolling ( #82 )
2022-05-27 12:40:20 -04:00
kenclary
c02bb9df7f
Merge branch 'main' into kenclary/TNL-9943
2022-05-25 17:23:07 -04:00
Ken Clary
5922e25b3d
fix: allow style tags inside html body, to match old editor behavior. TNL-9943.
2022-05-25 15:15:43 -04:00
connorhaugh
3b859734fd
feat: add simple code block and blockquote buttons ( #80 )
...
* feat: add simple code block and blockquote buttons
* fix: readaad context toolbar
2022-05-25 13:58:11 -04:00
connorhaugh
a3c50b2723
feat: allow all html tags ( #77 )
...
* feat: allow all html tags.
2022-05-18 13:24:13 -04:00
connorhaugh
94009e6ed7
fix: delete z index css ( #78 )
...
* fix: delete z index css
* fix: remove from index.css
2022-05-17 13:50:41 -04:00
connorhaugh
5aea213b8c
feat: add autocreate new xblock ( #67 )
...
This PR adds an automated script for generating the boilerplate code for adding a new xblock editor. As well as documentation for how to do so.
2022-05-16 16:14:18 -04:00
Raymond Zhou
76dcd1a920
Feat alert users with feedback instead of disabling next/save buttons ( #68 )
...
* feat: implemented user feedback ErrorAlerts
2022-05-13 15:23:42 -04:00
Ben Warzeski
564b953860
feat: video skeleton hooks ( #65 )
...
* feat: video skeleton hooks
* fix: lint
* Update src/editors/containers/VideoEditor/components/VideoSettingsModal/components/CollapsibleFormWidget.jsx
Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com >
Co-authored-by: connorhaugh <49422820+connorhaugh@users.noreply.github.com >
2022-05-09 14:23:21 -04:00
kenclary
121f28c535
Merge pull request #70 from edx/kenclary/TNL-9876
...
fix: code plugin uses 'HTML' label instead of icon. Fixes TNL-9876.
2022-05-04 18:25:12 -04:00
Ken Clary
91be5db424
fix: code plugin uses 'HTML' label instead of icon. Fixes TNL-9876.
2022-05-04 16:50:07 -04:00
Raymond Zhou
51f89bdc1e
feat: The X Button in the Top Right Doesn't do anything. ( #66 )
...
* fix: tests
* fix: onClose test case
2022-05-04 14:20:23 -04:00
connorhaugh
0d4688ce75
feat: remove codesample add code plugin ( #64 )
2022-04-19 12:53:33 -04:00
Raymond Zhou
5200897e1b
Fix change to go back to 'fake' modal ( #62 )
...
* fix: rebase
* fix: tests
* fix: remove broken code button
* fix: test case with iff
2022-04-19 11:25:01 -04:00
Ken Clary
1999041cdf
fix: rearrange and add several tinymce toolbar items. Addresses TNL-9874.
2022-04-18 15:37:47 -04:00
Julia Eskew
51558fd17c
Add events sent to Segment for the save and cancel clicks for content editors. ( #44 )
...
* feat: Add events sent to Segment for the save and cancel clicks for a content editor.
Co-authored-by: rayzhou-bit <rzhou@edx.org >
2022-04-18 13:44:27 -04:00
Ken Clary
24baf8cbeb
fix: enable ordered and unordered lists in text editor. Fixes TNL-9855.
2022-04-14 15:20:31 -04:00
Ben Warzeski
cb1c00bf3c
Feat: Video skeleton ( #58 )
...
* pt1
* feat: video skeleton
* fix: update tests
* chore: update snapshots and linting
* fix: fix image context button
* feat: re-usable editor pattern
* fix: css and bad hook
2022-04-14 15:01:04 -04:00
bszabo
0edee6b4e0
Merge pull request #57 from edx/TNL-9804-make-small-code-stewardship-changes-to-frontend-lib-content-components
...
Tnl 9804 make small code stewardship changes to frontend lib content components
2022-04-11 18:12:19 -04:00
Bernard Szabo
0d60cd97a0
refactor: Fix footer aria descriptions
...
'screensaver' in Aria description messages changed to 'screen reader'
2022-04-11 16:33:19 -04:00
Raymond Zhou
553e4d8c04
fix: editor has double scrollbars ( #59 )
2022-04-11 12:26:39 -04:00
Bernard Szabo
48fcfb0e00
refactor: Preserve button default messages
...
description for aria labels may explicitly reference intended screensaver use, but label names and ids should remain unchanged
2022-04-08 16:55:14 -04:00
connorhaugh
33b2c6a660
feat: image context toolbar ( #55 )
...
Note: this removes the crop and rotate functionality from the toolbar, as it requires an image_proxy server or tinymce cloud. https://www.tiny.cloud/docs-4x/plugins/imagetools/#imagetools_proxy . We also need to create a follow up ticket to handle right click behavior.
This is that follow up ticket
2022-04-08 13:23:42 -04:00
Raymond Zhou
ef6ea6b617
fix: saving block title ( #50 )
...
* fix: saving block title
* fix: ben's suggestions
2022-04-08 12:45:49 -04:00
Bernard Szabo
d79ee29b96
refactor: consistent naming and default message for saveButton label
...
Prior to this change Aria message and default message were different
2022-04-07 16:12:13 -04:00
Bernard Szabo
26c0c78660
refactor: use consistent ordering for header/footer attributes
2022-04-07 16:12:13 -04:00
kenclary
bc3ef37dcf
Merge pull request #53 from edx/kenclary/TNL-9832
...
fix: remove spurious hard-coded height for img-settings-form-container class. Fixes TNL-9832.
2022-04-07 15:49:06 -04:00
Ken Clary
e3236e9d95
fix: remove spurious hard-coded height for img-settings-form-container class. Fixes TNL-9832.
2022-04-07 15:44:47 -04:00
connorhaugh
c817e17d8a
fix: update texteditor spacing ( #49 )
...
footer is now locked to bottom of page, and that text editor content scrolls, and that this works on resize of page.
2022-04-07 14:49:15 -04:00
Raymond Zhou
8104aa3152
fix: load block title ( #51 )
2022-04-07 12:47:35 -04:00
Raymond Zhou
45758612a4
feat: empty gallery ( #46 )
...
Adds a new option to the behavior for when the gallery has no images in it.
2022-04-05 11:43:40 -04:00
connorhaugh
fd35c1cb18
Feat: Add Request Alerts and upload file ( #43 )
...
Fixes to Upload data type, as well as adding in of two error alerts for upload and fetch.
Co-authored-by: Ben Warzeski <bwarzeski@edx.org >
Co-authored-by: Raymond Zhou <56318341+rayzhou-bit@users.noreply.github.com
2022-04-04 08:33:31 -04:00
Raymond Zhou
28516a0389
fix: text editor save ( #45 )
...
* fix: text editor save
* fix: update snapshot
2022-04-01 17:01:12 -04:00
Raymond Zhou
dca18b9b97
chore: i18n complete ( #37 )
...
* chore: i18n
2022-03-31 16:14:29 -04:00