Skip to content

[Feature Request] edit table and column comments using textarea instead of input? #1233

@mmokross

Description

@mmokross

Is it possible to change using a <textarea> instead of <input> for editing table and column comments on Alter table? I want to be able to put in some longer documentation using Markdown to be rendered by an internal page.

I had a look in plugin.php but couldn't find a proxy for this to create an explicit plugin for this.

Thinking more about it, there should be these proxies

  • editComment() to render then input field for comments
  • renderComment() to render the content of comments

Brainstorming about alternative ways to render comments

  1. transforming the text
    • just plain text as it is
    • transform from Markdown text (which library?)
    • use a closure as constructor parameter, which transforms the text
  2. output the transformed text
    • just output
    • add a button to open an html dialog with the comment
    • using the title attribute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions