Put all rng to r to have the same concept in the whole file as well as in the summernote codebase. closes #8845