UX issue: textarea fields for entering PHP code can be customized easily via third-party libraries that turn them into fully functioning PHP code editor (with indentation, syntax highlighting etc). #901

Closed
opened 2022-04-17 10:21:45 +00:00 by kamilrafik · 1 comment
kamilrafik commented 2022-04-17 10:21:45 +00:00 (Migrated from github.com)

UX issue: textarea fields for entering PHP code can be customized easily via third-party libraries that turn them into fully functioning PHP code editor (with indentation, syntax highlighting etc).

The same note concerns textarea fields for entering SQL code. (Note: to find all these textareas manual check of all UI is needed because, as I see, in different pages labels of such textareas differ rather much.)

As I remember, https://codemirror.net/ is one of the best but other may be searched.

UX issue: textarea fields for entering PHP code can be customized easily via third-party libraries that turn them into fully functioning PHP code editor (with indentation, syntax highlighting etc). The same note concerns textarea fields for entering SQL code. (Note: to find all these textareas manual check of all UI is needed because, as I see, in different pages labels of such textareas differ rather much.) As I remember, https://codemirror.net/ is one of the best but other may be searched.

This is already possible in most cases, we have had much conversation about this over the years... if you did a search in the issues area for codemirror you will find all the conversations. So we did add this option... and you can activate it for you in the global options under the global tab:
image

But Joomla's implementation has at times not worked, and then it worked... and so I made it a selection, so developers can choose for themselves.

This is already possible in most cases, we have had much conversation about this over the years... if you did a [search in the issues area for codemirror](https://github.com/vdm-io/Joomla-Component-Builder/issues?q=codemirror) you will find all the conversations. So we did add this option... and you can activate it for you in the global options under the global tab: ![image](https://user-images.githubusercontent.com/5607939/164570313-f469b1bb-d893-4222-81c7-0bfea1731406.png) But Joomla's implementation has at times not worked, and then it worked... and so I made it a selection, so developers can choose for themselves.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#901
No description provided.