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

Support html in the tutorial steps #1498

Closed
2 tasks
offtherailz opened this issue Feb 22, 2017 · 3 comments
Closed
2 tasks

Support html in the tutorial steps #1498

offtherailz opened this issue Feb 22, 2017 · 3 comments

Comments

@offtherailz
Copy link
Member

offtherailz commented Feb 22, 2017

We should support to add html to the tutorial steps, to allow adding images, titles and so on.
This is already available editing the preset.
This should be supported :

  • in rowStep, for customization
  • we need support for i18n for HTML

The target is to provide a fully customizable and internationalizable tutorial

@allyoucanmap
Copy link
Contributor

allyoucanmap commented Feb 24, 2017

I just tested the current version of the tutorial plugin and we can add react component or dom elements in the title and text attributes in the preset files.

...
{
  title: (<Panel header={'bootstrap panel'}>{'panel content'}</Panel>),
  text: '<img width="100%" src="http://path/img/logo.png"/>',
  selector: '#drawer-menu-button'
},
...

000

@offtherailz
Copy link
Member Author

updated the issue desription to specify this

@ghost ghost added pending review and removed ready labels Mar 13, 2017
@offtherailz
Copy link
Member Author

Fixed by eccbee0
Going to close

@ghost ghost assigned offtherailz Mar 13, 2017
@ghost ghost removed the pending review label Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants