@lblod/ember-rdfa-editor-insert-variable-plugin

1.0.0-alpha.1 • Public • Published

ember-rdfa-editor-insert-variable-plugin

RDFa editor plugin to insert a variable into a template.

Configuration

The plugin needs an endpoint for the codelists, this endpoint will also be coded into the codelist insertion so make sure it's reachable by the aplication that will modify this codelists. The codelist enpoint needs to be present in the config/environment.js like this:

module.exports = function (/* environment, appConfig */) {
  return {
    insertVariablePlugin: {
      endpoint: 'https://dev.roadsigns.lblod.info/sparql',
    }
  };
};

If you need a specific subset of codelists of your enpoint you can specify a publisher when initalizing the plugin like

{
    name:'insert-variable',
    options: {
      publisher: 'cec59e5e872a9084e93becf3026bfcc2f25926ea76372711b7a745875f3b7949'
    }
  }

Package Sidebar

Install

npm i @lblod/ember-rdfa-editor-insert-variable-plugin

Weekly Downloads

0

Version

1.0.0-alpha.1

License

MIT

Unpacked Size

38.7 kB

Total Files

59

Last publish

Collaborators

  • erikap
  • nielsv
  • madnificent
  • cecemel
  • clairelovisa
  • dietr
  • oscar.redpencil
  • aatauil