Skip to content

Commit

Permalink
Feat/add md editor (datagouv#351)
Browse files Browse the repository at this point in the history
* feat: ✨ add markdown editor component

* feat(markdown-editor): ✨ handle table in markdown editor

* feat: ✨ add edit tooltip

* feat(markdown-editor): ✨ handle link edit

* feat(markdown-editor): ✨ add image modal

---------

Co-authored-by: maudetes <maudet.estelle@gmail.com>
  • Loading branch information
2 people authored and Jorek57 committed Apr 2, 2024
1 parent 8887a04 commit 3f08f98
Show file tree
Hide file tree
Showing 78 changed files with 12,027 additions and 5,017 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,7 @@ jobs:

assets:
docker:
# TODO make an image based on 2-alpine w/ nvm and phantom deps
- image: udata/circleci:py3
environment:
BASH_ENV: /root/.bashrc
- image: cimg/python:3.9.18-node
steps:
- checkout
- attach_workspace:
Expand All @@ -153,7 +150,7 @@ jobs:
- js-cache-{{ arch }}-{{ .Branch }}{{ .Environment.CIRCLE_TAG }}
- run:
name: Install NodeJS and dependencies
command: nvm install && npm ci
command: npm ci
- save_cache:
key: js-cache-{{ arch }}-{{ checksum "js.deps" }}
paths:
Expand All @@ -165,9 +162,7 @@ jobs:
- run:
name: Compile assets
command: |
nvm use
npm run build
- persist_to_workspace:
root: .
paths:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.20.0
v18.19.0
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const config = {
{
name: '@storybook/addon-styling',
},
'@storybook/addon-interactions',
path.resolve('./.storybook/load-theme-preview-preset')
],
framework: {
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Fix release CI [#380](https://github.com/etalab/udata-front/pull/380)
- Add stories to Resource component [#364](https://github.com/etalab/udata-front/pull/364)
- Move Well to datagouv-components [#382](https://github.com/etalab/udata-front/pull/382)
- Add markdown editor [#351](https://github.com/etalab/udata-front/pull/351)

## 3.5.4 (2024-03-20)

Expand Down

0 comments on commit 3f08f98

Please sign in to comment.