Skip to content

New field type : source code #419

@gwenaelp

Description

@gwenaelp

To allow people type source code in a better way in the forms, I have made a custom field, and I would like to register it to the list of available custom fields.

Preview

preview

Links

Repo : https://github.com/gwenaelp/vfg-field-sourcecode
NPM : https://www.npmjs.com/package/vfg-field-sourcecode

At the moment, it highlights all files as ".vue" files. I'm looking for ideas to be able to load the good syntax according to what has been set up in the schemas (have that kind of line, but dynamic : https://github.com/gwenaelp/vfg-field-sourcecode/blob/master/src/components/field-sourcecode.vue#L8). I'm still looking for ideas for that, so if you have one, let me know!

More custom fields to come! =D

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions