Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Content: Expose the editableAsText property in the content API. #26910

Closed
1 task
Tracked by #25445
fmontes opened this issue Dec 6, 2023 · 2 comments · Fixed by #27024
Closed
1 task
Tracked by #25445

Edit Content: Expose the editableAsText property in the content API. #26910

fmontes opened this issue Dec 6, 2023 · 2 comments · Fixed by #27024

Comments

@fmontes
Copy link
Member

fmontes commented Dec 6, 2023

Parent

#25445

User Story

As a content author, I want to be able to preview and edit the code of a file in the binary field, so I can quickly edit and preview my code.

Acceptance Criteria

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.:

N/A

Assumptions & Initiation Needs

N/A

Quality Assurance Notes & Workarounds

N/A

Sub-Tasks & Estimates:

  • Research and implement the editableAsText property in the content API
@fmontes fmontes changed the title Edit Content: Show the Code Editor in the Preview of Binary Fields Edit Content: Expose the editableAsText property in the content API. Dec 6, 2023
@jcastro-dotcms jcastro-dotcms self-assigned this Dec 12, 2023
github-merge-queue bot pushed a commit that referenced this issue Dec 18, 2023
… content API (#27024)

* feat(edit content) #26910 : Expose the editableAsText property in the content API

* Fixing GraphQL Postman test that failed because of the addition of the `editableAsText` property.

* Fixing Integration Test `FileMetadataAPITest` that failed because of the addition of the `editableAsText` property.

* Fixing Integration Test `FileMetadataAPITest` that failed because of the addition of the `editableAsText` property.
@fmontes
Copy link
Member Author

fmontes commented Jan 4, 2024

http://localhost:8080/api/v1/content/bce2f84b-d701-4c63-9318-2d2fe1d0b94c

The identifier is for a file.

The property comes in the metaData prop.

@josemejias11
Copy link

Approved: Tested on master_cf9b773, Docker, macOS 13.0, FF v113.0
Screenshot 2024-01-10 at 2 51 39 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment